STLdoc
STLdocumentation
|
RAII wrapper used to maintain and limit ppltask maximum inline schedule depth. This class will keep a reference to the depth slot on current context. More...
#include <concrt.h>
Public Member Functions | |
_StackGuard () | |
~_StackGuard () | |
bool | _ShouldInline (_TaskInliningMode _InliningMode) const |
Private Member Functions | |
_StackGuard & | operator= (const _StackGuard &) |
Static Private Member Functions | |
static _CRTIMP size_t &__cdecl | _GetCurrentInlineDepth () |
Return a reference to the ppltask inline schedule depth slot on current context The inline depth will be set to 0 when the context is first initialized, and the caller is responsible to maintain that depth. More... | |
Private Attributes | |
size_t & | _Depth |
RAII wrapper used to maintain and limit ppltask maximum inline schedule depth. This class will keep a reference to the depth slot on current context.
|
inline |
|
inline |
|
staticprivate |
Return a reference to the ppltask inline schedule depth slot on current context The inline depth will be set to 0 when the context is first initialized, and the caller is responsible to maintain that depth.
|
inline |
|
private |
|
private |