共用方式為


ForkJoinTask.PollNextLocalTask Method

Definition

Unschedules and returns, without executing, the next task queued by the current thread but not yet executed, if the current thread is operating in a ForkJoinPool.

[Android.Runtime.Register("pollNextLocalTask", "()Ljava/util/concurrent/ForkJoinTask;", "")]
protected static Java.Util.Concurrent.ForkJoinTask? PollNextLocalTask ();
[<Android.Runtime.Register("pollNextLocalTask", "()Ljava/util/concurrent/ForkJoinTask;", "")>]
static member PollNextLocalTask : unit -> Java.Util.Concurrent.ForkJoinTask

Returns

the next task, or null if none are available

Attributes

Remarks

Unschedules and returns, without executing, the next task queued by the current thread but not yet executed, if the current thread is operating in a ForkJoinPool. This method is designed primarily to support extensions, and is unlikely to be useful otherwise.

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

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