SyncStates

Use these constants to specify the type of synchronization state the SyncManager.LogAction method records in the OutputMessageSubProperty_SynchronizationState property object subproperty of the OutputMessage it creates.

  • SyncState_Aborted –(Value: 3) Indicates that a thread has abandoned an attempt to perform a synchronization operation. For example, for a lock, this value can indicate that a thread terminated or aborted while waiting to acquire the lock.
  • SyncState_Blocked –(Value: 1) Indicates that a thread has begun waiting in the process of performing a synchronization operation. For example, for a lock, this value indicates that a thread has blocked trying to acquire the lock.
  • SyncState_Completed –(Value: 5) Indicates that a thread has completed a synchronization operation. For example, for a lock, this value indicates that a thread has released a resource it had previously acquired.
  • SyncState_InUse –(Value: 2) Indicates that a thread has obtained access to a synchronization object. For example, for a lock, this value indicates that a thread has acquired the lock.
  • SyncState_None –(Value: 0) Not a valid synchronization state.
  • SyncState_TimedOut –(Value: 4) Indicates that the timeout period you specified expired while waiting to access a synchronization object. For example, for a lock, this value indicates that the timeout period expired while a thread was waiting to acquire the lock.

See Also

OutputMessage

ResourceUsageOutputMessageSubProperties

SyncManager.LogAction