Share via


ForkJoinTask.SetForkJoinTaskTag(Int16) Method

Definition

Atomically sets the tag value for this task and returns the old value.

[Android.Runtime.Register("setForkJoinTaskTag", "(S)S", "", ApiSince=24)]
public short SetForkJoinTaskTag (short newValue);
[<Android.Runtime.Register("setForkJoinTaskTag", "(S)S", "", ApiSince=24)>]
member this.SetForkJoinTaskTag : int16 -> int16

Parameters

newValue
Int16

the new tag value

Returns

the previous value of the tag

Attributes

Remarks

Atomically sets the tag value for this task and returns the old value.

Added in 1.8.

Java documentation for java.util.concurrent.ForkJoinTask.setForkJoinTaskTag(short).

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