Queuing reader-writer mutex with local-only spinning. More...
#include <queuing_rw_mutex.h>
| Classes | |
| class | scoped_lock | 
| The scoped locking pattern.  More... | |
| Public Member Functions | |
| queuing_rw_mutex () | |
| Construct unacquired mutex. | |
| ~queuing_rw_mutex () | |
| Destructor asserts if the mutex is acquired, i.e. q_tail is non-NULL. | |
| void __TBB_EXPORTED_METHOD | internal_construct () | 
| Static Public Attributes | |
| static const bool | is_rw_mutex = true | 
| static const bool | is_recursive_mutex = false | 
| static const bool | is_fair_mutex = true | 
Queuing reader-writer mutex with local-only spinning.
Adapted from Krieger, Stumm, et al. pseudocode at http://www.eecg.toronto.edu/parallel/pubs_abs.html#Krieger_etal_ICPP93