EmbLogic's Blog

Inter Process Communication-synchronised by semaphore

RCS file: server.c,v
Working file: server.c
head: 1.3
branch:
locks: strict
saurabh: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
here we are doing a project called ipc ,we have taken a server where three clients simultaneously sending their request over a single fifo.
That mean three clients respectively will send their request to server on a same fifo at a same time ….thus a concept of semaphore arises
this helps in seperating the one client req from others or from being messy!!!! we used semaphore ….
one client request is send over fifo one at a tym.
—————————-basically it synchronised the data coming to server…..
revision 1.3 locked by: saurabh;
date: 2014/03/27 11:12:28; author: saurabh; state: Exp; lines: +10 -0
server has passed the result accurately to all requesting clients.
finally it works :P
—————————-
revision 1.2
date: 2014/03/26 19:30:52; author: saurabh; state: Exp; lines: +17 -8
updated
—————————-
revision 1.1
date: 2014/03/26 17:50:36; author: saurabh; 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>