Java.Util.Concurrent.Locks.LockSupport.GetBlocker Method
Returns the blocker object supplied to the most recent invocation of a park method that has not yet unblocked, or null if not blocked.

Syntax

[Android.Runtime.Register("getBlocker", "(Ljava/lang/Thread;)Ljava/lang/Object;", "")]
public static Java.Lang.Object GetBlocker (Java.Lang.Thread p0)

Parameters

t
the thread

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif argument is null

Remarks

Returns the blocker object supplied to the most recent invocation of a park method that has not yet unblocked, or null if not blocked. The value returned is just a momentary snapshot -- the thread may have since unblocked or blocked on a different blocker object.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent.Locks
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9