[Info-vax] counting-lock ?
Pierre
pierre.bru at gmail.com
Thu Oct 22 12:03:46 EDT 2009
Hans, VAXman,
I use the DLM because if the process owning a lock dies, the lock is
automatically released.
if I understand correctly what you say, a logical or a license would
be used in the same way as a counting-semaphore: I increment the
counter when entering the "critical path" and decrement it when
leaving it but if the process dies (bug, stop/id, etc) the counter is
never decremented :(
Pierre.
More information about the Info-vax
mailing list