http://d.puremagic.com/issues/show_bug.cgi?id=11378
Martin Krejcirik <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |[email protected] Resolution|FIXED | --- Comment #5 from Martin Krejcirik <[email protected]> 2013-10-30 18:34:26 CET --- I've noticed the following program now segfaults on exit. In case calling exit() is now not possible, please document the correct way how to do it (I haven't found any). --------------------- import std.concurrency, std.c.stdlib; int main(string[] args) { spawn(&thread); return 0; } void thread() { while(1) { receive( (OwnerTerminated o) { exit(EXIT_SUCCESS); } /* segfault on exit */ ); } } --------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
