Room synchronization
The room synchronization technique is a form of concurrency control in computer science.
The room synchronization problem involves supporting a set of m mutually exclusive "rooms" where any number of users can execute code simultaneously in a shared room (any one of them), but no two users can simultaneously execute code in separate rooms.
Room synchronization can be used to implement asynchronous parallel queues and stacks with constant time access (assuming a fetch-and-add operation).
References
- G.E. Blelloch, P. Cheng, P.B. Gibbons, Room synchronizations, Annual ACM Symposium on Parallel Algorithms and Architectures 2001, 122-133
See also
- Monitor (synchronization).
- The Single Threaded Apartment Model in Microsoft's Component_Object_Model#Threading_in_COM, as used by Visual Basic.
This article is issued from Wikipedia - version of the 12/5/2013. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.