[Issue 9606] New: `std.signal` implementation is fundamentally incorrect
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 27 04:02:35 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9606
Summary: `std.signal` implementation is fundamentally incorrect
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: wrong-code
Severity: critical
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: verylonglogin.reg at gmail.com
--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-02-27 15:02:34 MSK ---
`std.signal` implementation is written like it is called from a single thread
or explicitly synchronized. The reality is on objects collecting GC calls
dispose events of finalizing object from its thread. So `unhook` can be called
in a middle of `emit`, `connect`, or `disconnect` freezed in other thread.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list