¡@

Home 

c++ Programming Glossary: spinlock

How to profile pthread mutex in linux?

http://stackoverflow.com/questions/10852637/how-to-profile-pthread-mutex-in-linux

Octeon SDK implements mutex style synchronization using spinlocks. Looking through the Octeon documentation I came across a way.. Octeon documentation I came across a way to profile the spinlocks to be able to see how many times each spinlock had to spin.. the spinlocks to be able to see how many times each spinlock had to spin while waiting for the lock to become available...

Boost Mutex implementation for Windows

http://stackoverflow.com/questions/13014635/boost-mutex-implementation-for-windows

In new version of boost boost mutex is implemented as an spinlock but with the help of a windows event to avoid busy wait and..

Spinlock versus Semaphore

http://stackoverflow.com/questions/195853/spinlock-versus-semaphore

semaphore differ mainly in four things 1. What they are A spinlock is one possible implementation of a lock namely one that is.. special case of a semaphore . Usually but not necessarily spinlocks are only valid within one process whereas semaphores can be.. a maximum value of 1. 2. What they do As stated above a spinlock is a lock and therefore a mutual exclusion strictly 1 to 1 mechanism...