RCS file: ./semaphore.c,v
Working file: ./semaphore.c
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
this is the intial file going to start the SEMAPHORE
—————————-
revision 1.6 locked by: root;
date: 2014/03/25 07:26:08; author: root; state: Exp; lines: +66 -16
successfully implemented 3 clients :1st client gives 23+ as input to server and after processing from the server
server will send the result to the same ist client through result fifo and value is reflected in the client1
after the critical area of client1
viceversa we got the result in 3 different clients
problem is that the irregular output various time as we run the same code
sometime it will take client1 2 times for the addition operation and then the subtract and willnt display for multiple
sometime unpredictable result we get
—————————-
revision 1.5
date: 2014/03/24 10:40:23; author: root; state: Exp; lines: +2 -2
successfully implemented for 3 different clients we have 3 clients client1(rahul),client2(hello),client3(GGOOD)
first of all activate server semaphore.c
tehn run the script containing ./client1,./client2,./client3
for every client server will send the string rebount to noticify that the processing is done
first the client1 send the string and server send back rebound for all the clients but the client get into block on read
—————————-
revision 1.4
date: 2014/03/24 10:11:26; author: root; state: Exp; lines: +5 -5
sending the result ie rebound to client1 and client 1 is reciving the rebound and rebound to client2
—————————-
revision 1.3
date: 2014/03/24 09:13:31; author: root; state: Exp; lines: +28 -13
in this file we have send 2 different values from the 2 different clients to the server and the client that is invoked in the critical region server got the value and display
the server is kept in the while loop to continuous accept the clients value
heading towards the program in while result of the client computing is send back to the same client
—————————-
revision 1.2
date: 2014/03/24 06:24:19; author: root; state: Exp; lines: +37 -10
successfully executed for 1 client file name client2
in this we are writting hello from the server and getting hello from the server through the fifo
heading towards the second client ie client1.c
—————————-
revision 1.1
date: 2014/03/20 10:09:35; author: root; state: Exp;
Initial revision
=============================================================================