PMDK C++ bindings  1.11.1
This is the C++ bindings documentation for PMDK's libpmemobj.
Public Member Functions | Static Private Member Functions | List of all members
pmem::detail::thread_id_type Struct Reference

RAII-style structure for holding thread id. More...

#include <libpmemobj++/detail/enumerable_thread_specific.hpp>

Public Member Functions

 thread_id_type ()
 thread_id_type constructor. More...
 
 ~thread_id_type ()
 thread_id_type destructor. More...
 
size_t get ()
 Obtain current thread id.
 

Static Private Member Functions

static id_managerget_id_manager ()
 Get reference to id_manager instance.
 

Detailed Description

RAII-style structure for holding thread id.

Constructor & Destructor Documentation

◆ thread_id_type()

pmem::detail::thread_id_type::thread_id_type ( )
inline

thread_id_type constructor.

Obtains id for current thread.

◆ ~thread_id_type()

pmem::detail::thread_id_type::~thread_id_type ( )
inline

thread_id_type destructor.

Releases id associated with current thread.


The documentation for this struct was generated from the following file: