Mutex.Constructor(name as String)

From Xojo Documentation

Revision as of 19:57, 24 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Constructor

Mutex.Constructor(name as String)

The parameter is the name of the Mutex. If you pass an empty string, the Mutex will be identical to a CriticalSection; it will not be visible to other applications. If you pass a name, you can use the name to access the Mutex.

Example

This example creates a Mutex.

Var m As New Mutex("MyMutex")