#include <pplcancellation_token.h>
Concurrency::details::_CancellationTokenRegistration::_CancellationTokenRegistration |
( |
long |
_InitialRefs = 1 | ) |
|
|
inline |
static const long _STATE_CALLED
Definition: pplcancellation_token.h:113
atomic_long _M_state
Definition: pplcancellation_token.h:168
bool _M_signaled
Definition: pplcancellation_token.h:171
_CancellationTokenState * _M_pTokenState
Definition: pplcancellation_token.h:172
_RefCounter(long _InitialCount=1)
Definition: pplcancellation_token.h:95
#define NULL
Definition: corecrt.h:158
virtual Concurrency::details::_CancellationTokenRegistration::~_CancellationTokenRegistration |
( |
| ) |
|
|
inlineprotectedvirtual |
atomic_long _M_state
Definition: pplcancellation_token.h:168
#define _ASSERTE(expr)
Definition: crtdbg.h:707
static const long _STATE_CLEAR
Definition: pplcancellation_token.h:110
virtual void Concurrency::details::_CancellationTokenRegistration::_Exec |
( |
| ) |
|
|
protectedpure virtual |
_CancellationTokenState * _M_pTokenState
Definition: pplcancellation_token.h:172
void Concurrency::details::_CancellationTokenRegistration::_Invoke |
( |
| ) |
|
|
inlineprivate |
159 std::lock_guard<std::mutex> _Lock(
_M_Mutex);
static const long _STATE_CALLED
Definition: pplcancellation_token.h:113
static const long _STATE_SYNCHRONIZE
Definition: pplcancellation_token.h:112
atomic_long _M_state
Definition: pplcancellation_token.h:168
_T atomic_compare_exchange(std::atomic< _T > &_Target, _T _Exchange, _T _Comparand)
Definition: pplinterface.h:238
std::mutex _M_Mutex
Definition: pplcancellation_token.h:170
std::condition_variable _M_CondVar
Definition: pplcancellation_token.h:169
bool _M_signaled
Definition: pplcancellation_token.h:171
#define _ASSERTE(expr)
Definition: crtdbg.h:707
long _Release()
Definition: pplcancellation_token.h:73
static const long _STATE_CLEAR
Definition: pplcancellation_token.h:110
_Result
Definition: corecrt_wconio.h:362
std::condition_variable Concurrency::details::_CancellationTokenRegistration::_M_CondVar |
|
private |
std::mutex Concurrency::details::_CancellationTokenRegistration::_M_Mutex |
|
private |
bool Concurrency::details::_CancellationTokenRegistration::_M_signaled |
|
private |
atomic_long Concurrency::details::_CancellationTokenRegistration::_M_state |
|
private |
const long Concurrency::details::_CancellationTokenRegistration::_STATE_CALLED = 3 |
|
staticprivate |
const long Concurrency::details::_CancellationTokenRegistration::_STATE_CLEAR = 0 |
|
staticprivate |
const long Concurrency::details::_CancellationTokenRegistration::_STATE_DEFER_DELETE = 1 |
|
staticprivate |
const long Concurrency::details::_CancellationTokenRegistration::_STATE_SYNCHRONIZE = 2 |
|
staticprivate |
The documentation for this class was generated from the following file: