Platforms to show: All Mac Windows Linux Cross-Platform
Back to MutexMBS class.
MutexMBS.AutoLock as AutoMutexMBS New in 26.3
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Process | MBS Util Plugin | 26.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Keep the AutoMutexMBS object in a local variable. When the method ends and the variable is freed, the mutex is unlocked automatically.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Process | MBS Util Plugin | 8.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The function returns as soon as it has access to the mutex.
Always use Lock and Unlock in a pair.
MutexMBS.TryAutoLock as AutoMutexMBS New in 26.3
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Process | MBS Util Plugin | 26.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns AutoMutexMBS object if we got a lock and nil if not.
Keep the AutoMutexMBS object in a local variable. When the method ends and the variable is freed, the mutex is unlocked automatically.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Process | MBS Util Plugin | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if we got a lock and false if not.
Always use Lock and Unlock in a pair.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Process | MBS Util Plugin | 8.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Always use Lock and Unlock in a pair.
The items on this page are in the following plugins: MBS Util Plugin.