[Issue 318] wait does not release thread resources on Linux

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 19 21:52:26 PDT 2007


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


braddr at puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|bugzilla at digitalmars.com    |braddr at puremagic.com
             Status|NEW                         |ASSIGNED




------- Comment #3 from braddr at puremagic.com  2007-10-19 23:52 -------
Created an attachment (id=197)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=197&action=view)
Proposed fix for phobos 1.x - v1

I've run this through a bit of testing of this diff, both 1.x and 2.x, using
the provided example test case and a few variations of my own.  (so far just on
linux, but I'll test on windows shortly).

I can no longer reproduce the problem.  That said, threading problems are
notoriously difficult to be sure about.  I'd appreciate it if some of you could
take a look and hopefully even build your own phobos and do some testing.

I need to think a little bit more about the running -> terminated -> finished
transition steps a bit to make sure it's safe in all cases.  I really would
prefer not to have to make state management synchronized.

Thanks,
Brad


-- 



More information about the Digitalmars-d-bugs mailing list