ForkJoinPool.PoolSize Property
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.
Returns the number of worker threads that have started but not yet terminated.
public virtual int PoolSize { [Android.Runtime.Register("getPoolSize", "()I", "GetGetPoolSizeHandler")] get; }
[<get: Android.Runtime.Register("getPoolSize", "()I", "GetGetPoolSizeHandler")>]
member this.PoolSize : int
Property Value
the number of worker threads
- Attributes
Remarks
Returns the number of worker threads that have started but not yet terminated. The result returned by this method may differ from #getParallelism
when threads are created to maintain parallelism when others are cooperatively blocked.
Java documentation for java.util.concurrent.ForkJoinPool.getPoolSize()
.
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.