#include <pthread_tools.hpp>
Classes | |
union | rwticket |
Public Member Functions | |
void | writelock () const |
void | wrunlock () const |
void | readlock () const |
void | rdunlock () const |
void | unlock () const |
rwlock built around "spinning" source adapted from http://locklessinc.com/articles/locks/ "Scalable Reader-Writer Synchronization for Shared-Memory Multiprocessors" John Mellor-Crummey and Michael Scott