On Sunday, 27 August 2017 at 22:21:11 UTC, Enjoys Math wrote:
static int dataReadDelay;
That's thread-local. Use shared to make it shared across all threads, and/or initialize it in the same thread as the use.
See: https://dlang.org/migrate-to-shared.html https://tour.dlang.org/tour/en/multithreading/thread-local-storage
