Partager via


ForkJoinPool.ManagedBlock(ForkJoinPool+IManagedBlocker) Method

Definition

Runs the given possibly blocking task.

[Android.Runtime.Register("managedBlock", "(Ljava/util/concurrent/ForkJoinPool$ManagedBlocker;)V", "")]
public static void ManagedBlock (Java.Util.Concurrent.ForkJoinPool.IManagedBlocker? blocker);
[<Android.Runtime.Register("managedBlock", "(Ljava/util/concurrent/ForkJoinPool$ManagedBlocker;)V", "")>]
static member ManagedBlock : Java.Util.Concurrent.ForkJoinPool.IManagedBlocker -> unit

Parameters

blocker
ForkJoinPool.IManagedBlocker

the blocker task

Attributes

Exceptions

if blocker.block did so

Remarks

Java documentation for java.util.concurrent.ForkJoinPool.managedBlock(java.util.concurrent.ManagedBlocker).

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