[Info-vax] K-mutex

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Thu Dec 15 07:11:31 EST 2011


In article <99c1d545-9fcb-45ed-b8e0-2e1f053ede86 at z17g2000vbe.googlegroups.com>, Jose Baars <peutbaars at googlemail.com> writes:
>On Dec 14, 11:18=A0pm, Pierre <pierre.... at gmail.com> wrote:
>> On Dec 14, 7:43=A0pm, koeh... at eisner.nospam.encompasserve.org (Bob
>>
>> the easiest way to emulate semaphores with the DLM is to use a lock
>> with a value block. this method is not fault-tolerant but neither are
>> semaphores (if a process crash before freeing the resource slot, this
>> slot may be totally =A0lost).
>>
>
>Wouldn't the crash of a process holding an EX lock cause the lock to
>be released
>or freed by a dead lock search?

Process rundown will clean-up locks.  However, if there is some value to
the contents of the LVB in the locking scheme, it could still leave your
resource stranded.

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

All your spirit rack abuses, come to haunt you back by day.
All your Byzantine excuses, given time, given you away.



More information about the Info-vax mailing list