vSMC
vSMC: Scalable Monte Carlo
|
Strictly scope-based thread ownership wrapper. More...
#include <vsmc/thread/thread_guard.hpp>
Public Types | |
typedef ThreadType | thread_type |
Public Member Functions | |
ThreadGuard () noexcept | |
ThreadGuard (const ThreadGuard &)=delete | |
ThreadGuard (thread_type &&thr) noexcept | |
ThreadGuard (ThreadGuard &&other) noexcept | |
~ThreadGuard () noexcept | |
ThreadGuard & | operator= (const ThreadGuard &)=delete |
ThreadGuard & | operator= (ThreadGuard &&other) noexcept |
Strictly scope-based thread ownership wrapper.
Definition at line 42 of file thread_guard.hpp.
typedef ThreadType vsmc::ThreadGuard< ThreadType >::thread_type |
Definition at line 46 of file thread_guard.hpp.
|
inlinenoexcept |
Definition at line 48 of file thread_guard.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 54 of file thread_guard.hpp.
|
inlinenoexcept |
Definition at line 57 of file thread_guard.hpp.
|
inlinenoexcept |
Definition at line 63 of file thread_guard.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 60 of file thread_guard.hpp.