TwclMutex.Create(string,Boolean) Method
Creates or opens a named mutex object.
public class function Create(const Name: string; out Exist: Boolean): TwclMutex; reintroduce; overload;
Parameters
- Name
- Type: string
The mutex name.
- Exist
- Type: Boolean
If the method completed with success the parameter indicates whether a named mutex object was just created or existing was opened.
Trueindicates that a mutex object was opened.Falseindicates that a new mutex object was created.
Return Value
Type: TwclMutex
If the method completed with success the returning value is
a new TwclMutex class object. If the method failed the
returning value is nil.