On Friday, 11 August 2017 at 08:17:32 UTC, Vadim Lopatin wrote:
I'm using DCD as a library in DlangIDE. All DCD calls are made from separate thread.DCD works ok until some thread is created (e.g. to invoke DUB for building).
/// call this function after DCD ModuleCache is instantiated to reproduce issue
void testDCDFailAfterThreadCreation() { import core.thread; Thread thread = new Thread(delegate() { Thread.sleep(dur!"msecs"(2000)); }); thread.start(); thread.join(); }