Udostępnij za pośrednictwem


StampedLock.UnlockWrite(Int64) Method

Definition

If the lock state matches the given stamp, releases the exclusive lock.

[Android.Runtime.Register("unlockWrite", "(J)V", "GetUnlockWrite_JHandler", ApiSince=24)]
public virtual void UnlockWrite (long stamp);
[<Android.Runtime.Register("unlockWrite", "(J)V", "GetUnlockWrite_JHandler", ApiSince=24)>]
abstract member UnlockWrite : int64 -> unit
override this.UnlockWrite : int64 -> unit

Parameters

stamp
Int64

a stamp returned by a write-lock operation

Attributes

Remarks

If the lock state matches the given stamp, releases the exclusive lock.

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