GrPPI
0.2
Generic and Reusable Parallel Pattern Interface
|
RAII class to manage registration/deregistration pairs. This class allows to manage automatic deregistration of threads through the common RAII pattern. The current thread is registered into the registry at construction and deregistered a destruction. More...
#include <parallel_execution_native.h>
Public Member Functions | |
native_thread_manager (thread_registry ®istry) | |
Saves a reference to the registry and registers current thread. More... | |
~native_thread_manager () | |
Deregisters current thread from the registry. More... | |
RAII class to manage registration/deregistration pairs. This class allows to manage automatic deregistration of threads through the common RAII pattern. The current thread is registered into the registry at construction and deregistered a destruction.
|
inline |
Saves a reference to the registry and registers current thread.
|
inline |
Deregisters current thread from the registry.