vibe.d beta banner
get vibe.d
0.10.1

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(),
  string thread_name_prefix = "vibe"
) nothrow @safe shared;

Parameters

NameDescription
thread_count The number of worker threads to create
thread_name_prefix Optional prefix to use for thread names
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.