
July 29th, 2003, 08:19 PM
|
|
Junior Member
|
|
Join Date: Jul 2003
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
making use of a semaphore
can any one tell me how to run a semaphore. i understand roughly how they work code wise, but i'm not sure how to make use of them. i have two client programs in csh that perform tasks on a server file (flat file) how the i get the semaphore to lock the file when one has accessed it and how to use it to prevent deadlock. Is it done by accessing the file through the semaphore?
|