次の方法で共有


AbstractQueuedSynchronizer.ConditionObject.AwaitUninterruptibly Method

Definition

Implements uninterruptible condition wait.

[Android.Runtime.Register("awaitUninterruptibly", "()V", "")]
public void AwaitUninterruptibly ();
[<Android.Runtime.Register("awaitUninterruptibly", "()V", "")>]
abstract member AwaitUninterruptibly : unit -> unit
override this.AwaitUninterruptibly : unit -> unit

Implements

Attributes

Remarks

Implements uninterruptible condition wait. <ol> <li>Save lock state returned by #getState. <li>Invoke #release with saved state as argument, throwing IllegalMonitorStateException if it fails. <li>Block until signalled. <li>Reacquire by invoking specialized version of #acquire with saved state as argument. </ol>

Java documentation for java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject.awaitUninterruptibly().

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