vibe.d beta banner
get vibe.d
0.8.4

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-2017 RejectedSoftware e.K.

License

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