Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsMutexMBS class.

WindowsMutexMBS.close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Mutex MBS Win Plugin 3.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The destructor.

There is no need to call this method except you want to free all resources of this object now without waiting for Xojo to do it for you.

WindowsMutexMBS.Create(name as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Mutex MBS Win Plugin 3.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Creates a new mutex.

The name must be unique and should not contain a backslash.
Use only ASCII strings for this.
Lasterror is set.

WindowsMutexMBS.Lock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Mutex MBS Win Plugin 20.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Locks the

Blocks until we got the lock.
Lasterror is set.

WindowsMutexMBS.Open(name as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Mutex MBS Win Plugin 3.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Trys to open a mutex with the given name.

Fails if the mutex does not exist.
Lasterror is set.

WindowsMutexMBS.TryLock as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Mutex MBS Win Plugin 20.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Tries to lock the mutex.

Returns true if we got the lock or false if not.
Lasterror is set.

WindowsMutexMBS.Unlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Mutex MBS Win Plugin 20.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Unlocks the mutex.

Lasterror is set.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...