10 references to AtomicStateUpdate
mscorlib (10)
system\threading\Tasks\Future.cs (3)
471
if (
AtomicStateUpdate
(TASK_STATE_COMPLETION_RESERVED,
601
if (
AtomicStateUpdate
(TASK_STATE_COMPLETION_RESERVED,
648
if (
AtomicStateUpdate
(Task<object>.TASK_STATE_COMPLETION_RESERVED,
system\threading\Tasks\Task.cs (7)
859
bool success =
AtomicStateUpdate
(TASK_STATE_WAIT_COMPLETION_NOTIFICATION,
971
return
AtomicStateUpdate
(TASK_STATE_STARTED, TASK_STATE_CANCELED | TASK_STATE_STARTED);
2248
AtomicStateUpdate
(TASK_STATE_WAITING_ON_CHILDREN, TASK_STATE_FAULTED | TASK_STATE_CANCELED | TASK_STATE_RAN_TO_COMPLETION);
2473
if (!
AtomicStateUpdate
(TASK_STATE_THREAD_WAS_ABORTED,
3432
mustCleanup =
AtomicStateUpdate
(TASK_STATE_CANCELED, TASK_STATE_DELEGATE_INVOKED | TASK_STATE_CANCELED);
3462
mustCleanup =
AtomicStateUpdate
(TASK_STATE_CANCELED, TASK_STATE_CANCELED | TASK_STATE_DELEGATE_INVOKED);
3466
mustCleanup =
AtomicStateUpdate
(TASK_STATE_CANCELED,