[Issue 16232] std.experimental.logger.core.sharedLog isn't thread-safe

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 3 10:31:11 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16232

--- Comment #2 from ag0aep6g at gmail.com ---
(In reply to Robert Schadek from comment #1)
> There is nothing we can do about user defined code

We have to accommodate for it. sharedLog suggests that it takes care of thread
safety, but it doesn't. Either is has to actually make things safe, or it
shouldn't suggest that it does. The latter would mean letting the user cast
to/from shared.

--


More information about the Digitalmars-d-bugs mailing list