Mutex.Constructor(name as String)

From Xojo Documentation

Revision as of 20:47, 8 February 2022 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!


Mutex.Constructor(name as String)

Creates a new Mutex using the name passed.


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.


This example creates a Mutex.

Var m As New Mutex("MyMutex")