Sdílet prostřednictvím


AbstractOwnableSynchronizer.ExclusiveOwnerThread Property

Definition

Returns the thread last set by setExclusiveOwnerThread, or null if never set. -or- Sets the thread that currently owns exclusive access.

protected Java.Lang.Thread? ExclusiveOwnerThread { [Android.Runtime.Register("getExclusiveOwnerThread", "()Ljava/lang/Thread;", "")] get; [Android.Runtime.Register("setExclusiveOwnerThread", "(Ljava/lang/Thread;)V", "")] set; }
[<get: Android.Runtime.Register("getExclusiveOwnerThread", "()Ljava/lang/Thread;", "")>]
[<set: Android.Runtime.Register("setExclusiveOwnerThread", "(Ljava/lang/Thread;)V", "")>]
member this.ExclusiveOwnerThread : Java.Lang.Thread with get, set

Property Value

the owner thread

Attributes

Remarks

Property getter documentation:

Returns the thread last set by setExclusiveOwnerThread, or null if never set. This method does not otherwise impose any synchronization or volatile field accesses.

Java documentation for java.util.concurrent.locks.AbstractOwnableSynchronizer.getExclusiveOwnerThread().

Property setter documentation:

Sets the thread that currently owns exclusive access. A null argument indicates that no thread owns access. This method does not otherwise impose any synchronization or volatile field accesses.

Java documentation for java.util.concurrent.locks.AbstractOwnableSynchronizer.setExclusiveOwnerThread(java.lang.Thread).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to