http://d.puremagic.com/issues/show_bug.cgi?id=11378



--- Comment #7 from Martin Nowak <[email protected]> 2013-10-30 13:54:00 PDT ---
(In reply to comment #5)
> 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).
> 
You have a race condition because both the main thread and the spawned thread
run the process destruction.
You shouldn't call exit in your thread but simply break the infinite loop.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to