AbstractQueuedLongSynchronizer.AcquireInterruptibly(Int64) Method

Definition

Acquires in exclusive mode, aborting if interrupted.

[Android.Runtime.Register("acquireInterruptibly", "(J)V", "")]
public void AcquireInterruptibly (long arg);
[<Android.Runtime.Register("acquireInterruptibly", "(J)V", "")>]
member this.AcquireInterruptibly : int64 -> unit

Parameters

arg
Int64

the acquire argument. This value is conveyed to #tryAcquire but is otherwise uninterpreted and can represent anything you like.

Attributes

Exceptions

if the current thread is interrupted

Remarks

Java documentation for java.util.concurrent.locks.AbstractQueuedLongSynchronizer.acquireInterruptibly(long).

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