Definition in file sthread.h.
Go to the source code of this file.
| Classes | |
| class | sthread_base_t | 
| Base class for sthreads. See timeout_in_ms, timeout_t.  More... | |
| class | ThreadFunc | 
| A callback class for traversing the list of all sthreads.  More... | |
| struct | tatas_lock | 
| A test-and-test-and-set spinlock.  More... | |
| struct | w_pthread_lock_t | 
| Wrapper for pthread mutexes, with a queue-based lock API.  More... | |
| struct | occ_rwlock | 
| A multiple-reader/single-writer lock based on pthreads (blocking).  More... | |
| class | sthread_t | 
| Thread class for all threads that use the Shore Storage Manager.  More... | |
| Defines | |
| #define | QUEUE_BLOCK_EXT_QNODE_INITIALIZER PTHREAD_EXT_QNODE_INITIALIZER | 
| #define | QUEUE_BLOCK_EXT_QNODE_INITIALIZE(x) x._held = NULL | 
| #define | QUEUE_SPIN_EXT_QNODE_INITIALIZER MCS_EXT_QNODE_INITIALIZER | 
| #define | QUEUE_EXT_QNODE_INITIALIZER MCS_EXT_QNODE_INITIALIZER | 
| #define | QUEUE_EXT_QNODE_INITIALIZE(x) MCS_EXT_QNODE_INITIALIZE(x) | 
| Typedefs | |
| typedef w_pthread_lock_t | queue_based_block_lock_t | 
| typedef mcs_lock | queue_based_spin_lock_t | 
| typedef mcs_lock | queue_based_lock_t | 
| typedef w_list_t< sthread_t, queue_based_lock_t > | sthread_list_t | 
| Functions | |
| ostream & | operator<< (ostream &o, const sthread_t &t) | 
| void | print_timeout (ostream &o, const sthread_base_t::timeout_in_ms timeout) | 
 1.4.7
 1.4.7