Udostępnij za pośrednictwem


StampedLock.UnlockRead(Int64) Method

Definition

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

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

Parameters

stamp
Int64

a stamp returned by a read-lock operation

Attributes

Remarks

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

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