Initializes a newly created
EventWaitHandle object, specifying whether the wait handle is initially signaled, whether it resets automatically or manually, the name of a system synchronization event, and a bool variable whose value after the call indicates whether the named system event was created.
Namespace: RTX.Threading
Assembly: IntervalZero.RTX (in IntervalZero.RTX.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
Parameters
- initialState
- Type:
System Boolean
true to set the initial state to signaled, false to set it to nonsignaled.
- mode
- Type:
System.Threading EventResetMode
An Threading.EventResetMode value that determines whether the event resets automatically or manually.
- name
- Type:
System String
The name of a system-wide synchronization event.
- createdNew
- Type:
System Boolean
When this method returns, contains true if the calling thread was granted initial ownership of the named system event; otherwise, false. This parameter is passed uninitialized.
See Also