While trying to use logger i've found that this doesn't work. The execution stalls and thread is not executed, while eith writeln it works fine. import std.logger; import std.parallelism; void worker() { log("in worker"); } void main() { auto pool = taskPool; pool.put(task!worker); }