ThreadPoolExecutor.PrestartAllCoreThreads 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.
Starts all core threads, causing them to idly wait for work.
[Android.Runtime.Register("prestartAllCoreThreads", "()I", "GetPrestartAllCoreThreadsHandler")]
public virtual int PrestartAllCoreThreads ();
[<Android.Runtime.Register("prestartAllCoreThreads", "()I", "GetPrestartAllCoreThreadsHandler")>]
abstract member PrestartAllCoreThreads : unit -> int
override this.PrestartAllCoreThreads : unit -> int
Returns
the number of threads started
- Attributes
Remarks
Starts all core threads, causing them to idly wait for work. This overrides the default policy of starting core threads only when new tasks are executed.
Java documentation for java.util.concurrent.ThreadPoolExecutor.prestartAllCoreThreads()
.
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.