TwclAutoResetEvent.Create(string,Boolean) Method
Creates or opens an auto-reset named event object.
public class function Create(const Name: string; out Exist: Boolean): TwclAutoResetEvent; overload;
Parameters
- 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.
Return Value
Type: TwclAutoResetEvent
If the method completed with success the returning value is
a new TwclEvent object. If the method failed the
returning value is nil.