EmbLogic's Blog

IPC (Using FIFOS , without semaphores)

1
2 RCS file: server.c,v
3 Working file: server.c
4 head: 1.5
5 branch:
6 locks: strict
7 access list:
8 symbolic names:
9 keyword substitution: kv
10 total revisions: 5; selected revisions: 5
11 description:
12 Implementing ipc using fifos
13 —————————-
14 revision 1.5
15 date: 2014/08/12 05:37:54; author: root; state: Exp; lines: +13 -4
16 Completed the implementation the IPC(client-server) using FIFOS.
17 No synchronisation mechanism used.
18 Issues :
19 If more than one client send the same type of request, then the server becomes less reliable
20 —————————-
21 revision 1.4
22 date: 2014/08/10 18:08:52; author: root; state: Exp; lines: +4 -0
23 Upto here :
24 1. the req client 1 successfully write the structure into the fifo, which is successfully read by the server, and displayed.
25 2. the structure read by the server is now to be written in the fifo of the processing client.
26 3. next target : to successfully write the structure to the fifo of pc.
27 —————————-
28 revision 1.3
29 date: 2014/08/10 18:00:40; author: root; state: Exp; lines: +77 -17
30 Trying to read the req fifo of a client by the server.
31 —————————-
32 revision 1.2
33 date: 2014/08/10 16:45:36; author: root; state: Exp; lines: +1 -1
34 Implemented _create_fifos() function that enables the server to create child readers for reading each of the request fifos.
“log_file” 39L, 1544C 1,0-1 Top

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>