/// <summary> /// See ECMA specs. /// </summary> public AutoResetEvent(bool initialState) { IntPtr handle; handle = WaitEvent.InternalCreateEvent(false, initialState); SetHandle(handle); }
/// <summary> /// See ECMA specs. /// </summary> public ManualResetEvent(bool initialState) { IntPtr handle; handle = WaitEvent.InternalCreateEvent(true, initialState); SetHandle(handle); }