vibe.d beta banner
get vibe.d
0.9.7

Asynchronous I/O that doesn’t get in your way, written in D

Function TaskPool.this

Creates a new task pool with the specified number of threads.

this (
  ulong thread_count = cast(ulong)logicalProcessorCount()
) @safe shared;

Parameters

NameDescription
thread_count The number of worker threads to create
Authors

Sönke Ludwig

Copyright

© 2012-2020 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.