Initialzes the base WaitHandle object.
The Memory to use when performing the assocaited wait operations.
The initial value of the wait handle.
Any arbitary data that derived implementations wish to store in the wait handle.
Gets the arbitary data that was provided when the wait handle was created.
Initializes the base WaitHandle if a derived instance has been created from shared memory.
The Memory that has been used to create the WaitHandle.
Replaces the current value of the wait handle only if that value first equals an expected value.
The value to test the current wait handle value against.
The new value if the current value of the wait handle equals expectedValue
.
The original value of the wait handle.
Returns the current value of the wait handle.
Awakens a given number of sleeping worker threads that are blocked on the current wait handle.
The number of sleeping worker threads to notify.
The number of worker threads that were notified.
Blocks the current worker thread if the value of the wait handle is equal to a given value, and returns only when the wait handle value then changes, or the timeout period is exceeded.
The value that will be tested against the current value of the wait handle.
An optional timeout in milliseconds to wait for the values to change.
An AtomicWaitResult.
Performs an implementation specific wait operation that should block the current worker thread.
The number of milliseconds to wait.
true
if the wait handle became signaled; false
if the timeout period was exceeded.
Blocks the current worker thread indefinitely until the current WaitHandle receives a signal.
true
if the wait handle became signaled; false
if the timeout period was exceeded.
Blocks the current worker thread until the current WaitHandle receives a signal using a timeout to specify the maximum number of milliseconds to wait.
The number of milliseconds to wait.
true
if the wait handle became signaled; false
if the timeout period was exceeded.
Generated using TypeDoc
An object that waits for exclusive access to some shared resource.