Public Member Functions | |
spin_lock_pthreads () | |
pthreads spin-lock constructor; throws an exception if pthread_spin_init() fails | |
void | lock () |
bool | try_lock () |
void | unlock () |
Definition at line 41 of file spin_lock_pthreads.h.
rutz::spin_lock_pthreads::spin_lock_pthreads | ( | ) |
pthreads spin-lock constructor; throws an exception if pthread_spin_init() fails
Definition at line 44 of file spin_lock_pthreads.cc.
References rutz::sfmt(), and SRC_POS.