Share via


ForkJoinTask.InForkJoinPool Method

Definition

Returns true if the current thread is a ForkJoinWorkerThread executing as a ForkJoinPool computation.

[Android.Runtime.Register("inForkJoinPool", "()Z", "")]
public static bool InForkJoinPool ();
[<Android.Runtime.Register("inForkJoinPool", "()Z", "")>]
static member InForkJoinPool : unit -> bool

Returns

true if the current thread is a ForkJoinWorkerThread executing as a ForkJoinPool computation, or false otherwise

Attributes

Remarks

Returns true if the current thread is a ForkJoinWorkerThread executing as a ForkJoinPool computation.

Java documentation for java.util.concurrent.ForkJoinTask.inForkJoinPool().

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