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