Share via


ForkJoinWorkerThread Constructors

Definition

Overloads

ForkJoinWorkerThread(ForkJoinPool)

Creates a ForkJoinWorkerThread operating in the given pool.

ForkJoinWorkerThread(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ForkJoinWorkerThread(ForkJoinPool)

Creates a ForkJoinWorkerThread operating in the given pool.

[Android.Runtime.Register(".ctor", "(Ljava/util/concurrent/ForkJoinPool;)V", "")]
protected ForkJoinWorkerThread (Java.Util.Concurrent.ForkJoinPool? pool);
[<Android.Runtime.Register(".ctor", "(Ljava/util/concurrent/ForkJoinPool;)V", "")>]
new Java.Util.Concurrent.ForkJoinWorkerThread : Java.Util.Concurrent.ForkJoinPool -> Java.Util.Concurrent.ForkJoinWorkerThread

Parameters

pool
ForkJoinPool

the pool this thread works in

Attributes

Exceptions

if pool is null

Remarks

Creates a ForkJoinWorkerThread operating in the given pool.

Java documentation for java.util.concurrent.ForkJoinWorkerThread.ForkJoinWorkerThread(java.util.concurrent.ForkJoinPool).

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

ForkJoinWorkerThread(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected ForkJoinWorkerThread (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.ForkJoinWorkerThread : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.ForkJoinWorkerThread

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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