Udostępnij za pośrednictwem


CountedCompleter.DecrementPendingCountUnlessZero Method

Definition

If the pending count is nonzero, (atomically) decrements it.

[Android.Runtime.Register("decrementPendingCountUnlessZero", "()I", "", ApiSince=24)]
public int DecrementPendingCountUnlessZero ();
[<Android.Runtime.Register("decrementPendingCountUnlessZero", "()I", "", ApiSince=24)>]
member this.DecrementPendingCountUnlessZero : unit -> int

Returns

the initial (undecremented) pending count holding on entry to this method

Attributes

Remarks

If the pending count is nonzero, (atomically) decrements it.

Java documentation for java.util.concurrent.CountedCompleter.decrementPendingCountUnlessZero().

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