[Home]Boost.Threads/MultiLocks

BOOST WIKI | Boost.Threads | RecentChanges | Preferences | Page List | Links List

Showing revision 6

Introduction

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...


Mailing List Discussions


Links and References


[buy lipitor online] [buy lipitor] [[buy lipitor online]]

[buy fioricet online] [buy fioricet] [[buy fioricet online]]


BOOST WIKI | Boost.Threads | RecentChanges | Preferences | Page List | Links List
Edit revision 6 of this page | View other revisions | View current revision
Edited August 24, 2008 1:22 pm (diff)
Search:
Disclaimer: This site not officially maintained by Boost Developers