Jump to content

Room synchronization

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Comp.arch (talk | contribs) at 13:00, 7 November 2017 (Include "Threading in COM" as no such thing at target..). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

See also