Resources for designing and implementing platform-independent locks capable of waiting form multiple primitives in a single step.
A common source of deadlock when acquiring two locks occurs when thread A first locks "L", and then tries to lock "M", while thread B first locks "M", and then tries to lock "L".
A Multilock can manage the combined set of locks in such a fashion that they would always be acquired and released in the same order, avoiding this particular type of deadlock.
A different type of Multilock can wait for any one of its primitives to become unblocked before proceeding. This may not be a portable concept w/o operating system support...
[buy lipitor online] [buy lipitor] [[buy lipitor online]]
[buy fioricet online] [buy fioricet] [[buy fioricet online]]