VarHandle.AccessMode.WeakCompareAndSetPlain Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The access mode whose access is specified by the corresponding method VarHandle.weakCompareAndSetPlain
[Android.Runtime.Register("WEAK_COMPARE_AND_SET_PLAIN", ApiSince=33)]
public static Java.Lang.Invoke.VarHandle.AccessMode WeakCompareAndSetPlain { get; }
[<Android.Runtime.Register("WEAK_COMPARE_AND_SET_PLAIN", ApiSince=33)>]
static member WeakCompareAndSetPlain : Java.Lang.Invoke.VarHandle.AccessMode
Property Value
The WeakCompareAndSetPlain(Object[]) mode for an atomic conditional update with plain read and write ordering. The operation reports success as a Boolean and can fail even when the expected value matches. Use IsAccessModeSupported(VarHandle+AccessMode) to check support for a handle.
- Attributes
Remarks
The access mode whose access is specified by the corresponding method VarHandle.weakCompareAndSetPlain
Java reference for java.lang.invoke.VarHandle.AccessMode.WEAK_COMPARE_AND_SET_PLAIN.