PMDK C++ bindings
1.12-git53.g67ba2be4
This is the C++ bindings documentation for PMDK's libpmemobj.
|
This structure is used for assigning unique thread ids so that those ids will be reused in case of thread exit. More...
#include <libpmemobj++/detail/enumerable_thread_specific.hpp>
Public Member Functions | |
size_t | get () |
Obtain unique thread id. More... | |
void | release (size_t id) |
Releases thread id so that it can be reused by other threads. More... | |
This structure is used for assigning unique thread ids so that those ids will be reused in case of thread exit.
Ids will be between 0 and N where N is max number of threads.
|
inline |
Obtain unique thread id.
|
inline |
Releases thread id so that it can be reused by other threads.