EmbLogic's Blog

Message_queue

RCS file: msg_que_fork.c,v
Working file: msg_que_fork.c
head: 1.22
branch:
locks: strict
emblogic: 1.22
access list:
symbolic names:
keyword substitution: kv
total revisions: 22;    selected revisions: 22
description:
This is my frist prog. on mag queue.
—————————-
revision 1.22    locked by: emblogic;
date: 2015/10/24 14:53:29;  author: emblogic;  state: Exp;  lines: +0 -1
*** empty log message ***
—————————-
revision 1.21
date: 2015/10/24 14:52:39;  author: emblogic;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.20
date: 2015/10/24 14:52:19;  author: emblogic;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.19
date: 2015/10/24 14:51:57;  author: emblogic;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.18
date: 2015/10/24 14:51:31;  author: emblogic;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.17
date: 2015/10/24 14:51:09;  author: emblogic;  state: Exp;  lines: +3 -1
*** empty log message ***
—————————-
revision 1.16
date: 2015/10/24 14:50:33;  author: emblogic;  state: Exp;  lines: +0 -1
remove the wait.
—————————-
revision 1.15
date: 2015/10/24 14:49:42;  author: emblogic;  state: Exp;  lines: +1 -0
Print the value at child as well as parent.
—————————-
revision 1.14
date: 2015/10/24 14:48:55;  author: emblogic;  state: Exp;  lines: +2 -2
*** empty log message ***
—————————-
revision 1.13
date: 2015/10/24 14:46:47;  author: emblogic;  state: Exp;  lines: +2 -2
*** empty log message ***
—————————-
revision 1.12
date: 2015/10/24 14:46:07;  author: emblogic;  state: Exp;  lines: +2 -2
*** empty log message ***
—————————-
revision 1.11
date: 2015/10/24 14:41:01;  author: emblogic;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.10
date: 2015/10/24 14:40:38;  author: emblogic;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.9
date: 2015/10/24 14:40:13;  author: emblogic;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.8
date: 2015/10/24 14:37:48;  author: emblogic;  state: Exp;  lines: +18 -1
We call the foek and genrate the child or parent process.
In child we write the data in msg_queue.
In parent also write data in msg_queue.
When child make own structure then it send data to the queue.
Same process use parent and data pass block by block in msg queue.
—————————-
revision 1.7
date: 2015/10/24 14:20:37;  author: emblogic;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.6
date: 2015/10/24 14:19:59;  author: emblogic;  state: Exp;  lines: +3 -3
*** empty log message ***
—————————-
revision 1.5
date: 2015/10/24 14:17:42;  author: emblogic;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2015/10/24 14:16:52;  author: emblogic;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2015/10/24 14:16:06;  author: emblogic;  state: Exp;  lines: +1 -0
Define the size of buff.
—————————-
revision 1.2
date: 2015/10/24 14:14:14;  author: emblogic;  state: Exp;  lines: +15 -0
Generate the kernal id by the help of msgget().
Print that id .
—————————-
revision 1.1
date: 2015/10/24 13:31:39;  author: emblogic;  state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>