Java.Lang.Thread.HoldsLock Method
Indicates whether the current Thread has a monitor lock on the specified object.

Syntax

[Android.Runtime.Register("holdsLock", "(Ljava/lang/Object;)Z", "")]
public static bool HoldsLock (Object object)

Parameters

object
the object to test for the monitor lock

Returns

Documentation for this section has not yet been entered.

Remarks

Indicates whether the current Thread has a monitor lock on the specified object.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1