[Home]Boost.Threads/Spinlocks

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

Introduction

Resources for designing and implementing platform-independent spinlocks.

Spinlocks are a class of synchronization primitives which usually imply that a waiting thread will "spin" or busy-wait until they can obtain a lock, rather than blocking and waiting for the OS or scheduler to grant the lock.

Spinlocks are typically used on multiprocessor systems where locks will be held for a very brief time. Spinlocks are usually implemented in terms of /Atomic primitives since these can be very fast, and since the locking thread wants to acquire the thread without becoming blocked.


Mailing List Discussions


Links and References



BOOST WIKI | Boost.Threads | RecentChanges | Preferences | Page List | Links List
Edit text of this page | View other revisions
Last edited December 18, 2004 12:35 pm (diff)
Search:
Disclaimer: This site not officially maintained by Boost Developers