TwclAutoResetEvent.Create(Boolean,string,Boolean) Method
Creates or opens a named event object.
protected class function Create(const ManualReset: Boolean; const Name: string; out Exist: Boolean): TwclEvent; overload;
Parameters
- ManualReset
- Type: Boolean
If this parameter is
True, the method creates a manual-reset event object, which requires the use of theResetEventmethod to set the event state to nonsignaled. If this parameter isFalse, the method creates an auto-reset event object, and the system automatically resets the event state to nonsignaled after a single waiting thread has been released. - Name
- Type: string
The event name.
- Exist
- Type: Boolean
If the method completed with success the parameter indicates whether a named event object was just created or existing was opened.
Trueindicates that an event object was opened.Falseindicates that a new event object was created.