[Issue 8774] 2.059 worked 2.060 does not: Unable to join thread

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 25 06:03:40 PST 2012


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



--- Comment #14 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2012-12-25 06:03:35 PST ---
(In reply to comment #11)
> Dmitry, does this mean this is not a bug in the compiler or library?

>From what I can gather the bug is not in compiler but in the original code
making wrong assumptions about behavior of map in Phobos(it doesn't cache any
value but computes them on demand). 

I suspect that this problem with the code was apparently hidden by the fact
that join didn't always throw exception on the wrong join (e.g. on a thread
that isn't started). In other words the code worked by pure luck and it needs
fixing. 

However I'm still getting access violation after fixing the original bug. I'll
investigate further as to what is the cause. It may be an unrelated bug with a
closure as there are 3 level of these.

-- 
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