using signal(2) with locks

utzoo!decvax!ucbvax!unix-wizards utzoo!decvax!ucbvax!unix-wizards
Tue Aug 18 12:15:38 AEST 1981


>From day at RAND-UNIX Tue Aug 18 12:10:02 1981
Interesting.  One idea I had was to write the pid #
and its start time into the lock file so you could
determine if the process was still alive, but think
of the race condition where two processes want
delete and relink the dead lock file simultaneously.
So this is still not a solid solution.

--dave




More information about the Comp.unix.wizards mailing list