Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsMutexMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Mutex | MBS Win Plugin | 3.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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 |
The name must be unique and should not contain a backslash.
Use only ASCII strings for this.
Lasterror is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Mutex | MBS Win Plugin | 20.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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 |
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 |
Returns true if we got the lock or false if not.
Lasterror is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Mutex | MBS Win Plugin | 20.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
The items on this page are in the following plugins: MBS Win Plugin.