Issue 12090 - Make std.concurrency compatible with fibers as threads

https://d.puremagic.com/issues/show_bug.cgi?id=12090