Platforms to show: All Mac Windows Linux Cross-Platform
Back to AtomicIntegerMBS class.
AtomicIntegerMBS.Add(Value as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Atomically replaces the current value with the result of arithmetic addition of the value and argument.
Returns the value immediately preceding the effects of this function.
AtomicIntegerMBS.BitwiseAnd(Value as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Atomically replaces the current value with the result of bitwise AND of the value and argument.
Returns the value immediately preceding the effects of this function.
AtomicIntegerMBS.BitwiseOr(Value as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Atomically replaces the current value with the result of bitwise OR of the value and argument.
Returns the value immediately preceding the effects of this function.
AtomicIntegerMBS.BitwiseXOr(Value as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Atomically replaces the current value with the result of bitwise XOR of the value and argument.
Returns the value immediately preceding the effects of this function.
AtomicIntegerMBS.CompareExchange(byref expected as Int64, desired as Int64) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
On success returns true.
On failure returns false and assigns current value to expected parameter.
Some examples using this method:
AtomicIntegerMBS.Decrement as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns new value.
AtomicIntegerMBS.Exchange(Value as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns old value.
AtomicIntegerMBS.Increment as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns new value.
AtomicIntegerMBS.Operator_Add(other as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
AtomicIntegerMBS.Operator_Compare(other as AtomicIntegerMBS) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
AtomicIntegerMBS.Operator_Convert as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
AtomicIntegerMBS.Operator_Convert(value as Int64)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
AtomicIntegerMBS.Operator_Subtract(other as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
AtomicIntegerMBS.Subtract(Value as Int64) as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Atomic | MBS Util Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Atomically replaces the current value with the result of arithmetic addition of the value and argument.
Returns the value immediately preceding the effects of this function.
The items on this page are in the following plugins: MBS Util Plugin.