ForkJoinTask.Pool Property

Definition

Returns the pool hosting the current thread, or null if the current thread is executing outside of any ForkJoinPool.

public static Java.Util.Concurrent.ForkJoinPool? Pool { [Android.Runtime.Register("getPool", "()Ljava/util/concurrent/ForkJoinPool;", "")] get; }
[<get: Android.Runtime.Register("getPool", "()Ljava/util/concurrent/ForkJoinPool;", "")>]
static member Pool : Java.Util.Concurrent.ForkJoinPool

Property Value

the pool, or null if none

Attributes

Remarks

Returns the pool hosting the current thread, or null if the current thread is executing outside of any ForkJoinPool.

This method returns null if and only if #inForkJoinPool returns false.

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

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

See also