Java.Util.Concurrent.ForkJoinPool.ManagedBlock Method
Blocks in accord with the given blocker.

Syntax

[Android.Runtime.Register("managedBlock", "(Ljava/util/concurrent/ForkJoinPool$ManagedBlocker;)V", "")]
public static void ManagedBlock (ForkJoinPool.IManagedBlocker blocker)

Parameters

blocker
the blocker

Exceptions

TypeReason
Java.Lang.InterruptedExceptionif blocker.block did so

Remarks

Blocks in accord with the given blocker. If the current thread is a Java.Util.Concurrent.ForkJoinWorkerThread, this method possibly arranges for a spare thread to be activated if necessary to ensure sufficient parallelism while the current thread is blocked.

If the caller is not a Java.Util.Concurrent.ForkJoinTask, this method is behaviorally equivalent to If the caller is a ForkJoinTask, then the pool may first be expanded to ensure parallelism, and later adjusted.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0