EmbLogic's Blog

massage_queue_one_send_other_receive

THIS IS SEND DATA RCS

RCS file: msg_send.c,v
Working file: msg_send.c
head: 1.11
branch:
locks: strict
emblogic: 1.11
access list:
symbolic names:
keyword substitution: kv
total revisions: 11; selected revisions: 11
description:
Here use the msg_queue to send the data.
We print the msgid which provide by the kernal.
Print the value of this id.
—————————-
revision 1.11 locked by: emblogic;
date: 2015/10/24 15:56:13; author: emblogic; state: Exp; lines: +0 -1
Here we write the data in msg_que
—————————-
revision 1.10
date: 2015/10/24 15:55:31; author: emblogic; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.9
date: 2015/10/24 15:54:43; author: emblogic; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.8
date: 2015/10/24 15:54:27; author: emblogic; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.7
date: 2015/10/24 15:54:03; author: emblogic; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.6
date: 2015/10/24 15:52:57; author: emblogic; state: Exp; lines: +1 -0
*** empty log message ***
—————————-
revision 1.5
date: 2015/10/24 15:52:10; author: emblogic; state: Exp; lines: +3 -2
*** empty log message ***
—————————-
revision 1.4
date: 2015/10/24 15:48:39; author: emblogic; state: Exp; lines: +7 -2
*** empty log message ***
—————————-
revision 1.3
date: 2015/10/24 15:41:14; author: emblogic; state: Exp; lines: +16 -1
Here enter the text from user.
Put this text inside the queue.
By the help of fgets().
We apply stdin i.e it takes input from the keyboard.
Copy that data in struct buff.
—————————-

revision 1.2
date: 2015/10/24 15:28:21; author: emblogic; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.1
date: 2015/10/24 15:28:03; author: emblogic; state: Exp;
Initial revision
=============================================================================
THIS IS RECEIVE DATA RCS

RCS file: msg_receive.c,v
Working file: msg_receive.c
head: 1.6
branch:
locks: strict
emblogic: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
Here we make a prog. which receive the data by the help opf massge queue.
This messge queue read data as the other end.
—————————-
revision 1.6 locked by: emblogic;
date: 2015/10/24 16:25:41; author: emblogic; state: Exp; lines: +1 -0
Here we only read data which send trough send prog.
This is use to know how massage queue work.
—————————-
revision 1.5
date: 2015/10/24 16:21:55; author: emblogic; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2015/10/24 16:21:31; author: emblogic; state: Exp; lines: +1 -1
,
—————————-
revision 1.3
date: 2015/10/24 16:19:36; author: emblogic; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.2
date: 2015/10/24 16:17:44; author: emblogic; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.1
date: 2015/10/24 16:17:23; 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>