Definition in file smthread.h.
Go to the source code of this file.
Classes | |
| class | SmthreadFunc |
| Callback class use with smthread::for_each_smthread(). More... | |
| class | atomic_thread_map_t |
| Fingerprint for this smthread. More... | |
| class | smthread_t |
| Storage Manager thread. More... | |
Defines | |
| #define | GET_TSTAT(x) me()->TL_stats().sm.x |
| Get per-thread statistic named x. | |
| #define | INC_TSTAT(x) me()->TL_stats().sm.x++ |
| Increment per-thread statistic named x by y. | |
| #define | ADD_TSTAT(x, y) me()->TL_stats().sm.x += (y) |
| Increment statistic named x by y. | |
| #define | SET_TSTAT(x, y) me()->TL_stats().sm.x = (y) |
| Set per-thread statistic named x to y. | |
Typedefs | |
| typedef sthread_t::timeout_in_ms | timeout_in_ms |
Enumerations | |
| enum | special_timeout_in_ms_t |
| Special values for timeout_in_ms. More... | |
Special values for timeout_in_ms.
To set the smthread_t's timeout, use smthread_t::lock_timeout.
Definition at line 85 of file smthread.h.
1.4.7