LockSupport.GetBlocker(Thread) Method

Definition

Returns the blocker object supplied to the most recent invocation of a park method that has not yet unblocked, or null if not blocked.

[Android.Runtime.Register("getBlocker", "(Ljava/lang/Thread;)Ljava/lang/Object;", "")]
public static Java.Lang.Object? GetBlocker (Java.Lang.Thread? t);
[<Android.Runtime.Register("getBlocker", "(Ljava/lang/Thread;)Ljava/lang/Object;", "")>]
static member GetBlocker : Java.Lang.Thread -> Java.Lang.Object

Parameters

t
Thread

the thread

Returns

Object

the blocker

Attributes

Exceptions

if argument is null

Remarks

Java documentation for java.util.concurrent.locks.LockSupport.getBlocker(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