ForkJoinPool.ExternalSubmit(ForkJoinTask) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Submits the given task as if submitted from a non-ForkJoinTask
client.
[Android.Runtime.Register("externalSubmit", "(Ljava/util/concurrent/ForkJoinTask;)Ljava/util/concurrent/ForkJoinTask;", "GetExternalSubmit_Ljava_util_concurrent_ForkJoinTask_Handler", ApiSince=36)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public virtual Java.Util.Concurrent.ForkJoinTask? ExternalSubmit(Java.Util.Concurrent.ForkJoinTask? task);
[<Android.Runtime.Register("externalSubmit", "(Ljava/util/concurrent/ForkJoinTask;)Ljava/util/concurrent/ForkJoinTask;", "GetExternalSubmit_Ljava_util_concurrent_ForkJoinTask_Handler", ApiSince=36)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
abstract member ExternalSubmit : Java.Util.Concurrent.ForkJoinTask -> Java.Util.Concurrent.ForkJoinTask
override this.ExternalSubmit : Java.Util.Concurrent.ForkJoinTask -> Java.Util.Concurrent.ForkJoinTask
Parameters
- task
- ForkJoinTask
the task to submit
Returns
the task
- Attributes
Remarks
Submits the given task as if submitted from a non-ForkJoinTask
client. The task is added to a scheduling queue for submissions to the pool even when called from a thread in the pool.
Added in 20.
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.