Compartir a través de


is_current_task_group_canceling Function

Returns an indication of whether the task group which is currently executing inline on the current context is in the midst of an active cancellation (or will be shortly). Note that if there is no task group currently executing inline on the current context, false will be returned.

bool __cdecl is_current_task_group_canceling();

Return Value

true if the task group which is currently executing is canceling, false otherwise.

Remarks

For more information, see Cancellation in the PPL.

Requirements

Header: ppl.h

Namespace: concurrency

See Also

Reference

concurrency Namespace

task_group Class

structured_task_group Class