#include <spin_rw_mutex.h>
| Public Member Functions | |
| spin_rw_mutex_v3 () | |
| Construct unacquired mutex. | |
| ~spin_rw_mutex_v3 () | |
| Destructor asserts if the mutex is acquired, i.e. state is zero. | |
| void | lock () | 
| Acquire writer lock. | |
| bool | try_lock () | 
| Try acquiring writer lock (non-blocking). | |
| void | unlock () | 
| Release lock. | |
| void | lock_read () | 
| Acquire reader lock. | |
| bool | try_lock_read () | 
| Try acquiring reader lock (non-blocking). | |
| Static Public Attributes | |
| static const bool | is_rw_mutex = true | 
| static const bool | is_recursive_mutex = false | 
| static const bool | is_fair_mutex = false | 
| Classes | |
| class | scoped_lock | 
| The scoped locking pattern.  More... | |
| bool tbb::spin_rw_mutex_v3::try_lock | ( | ) |  [inline] | 
Try acquiring writer lock (non-blocking).
Return true if lock acquired; false otherwise.
| bool tbb::spin_rw_mutex_v3::try_lock_read | ( | ) |  [inline] | 
Try acquiring reader lock (non-blocking).
Return true if reader lock acquired; false otherwise.