<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 5/5/2011 1:28 AM, Walter Bright wrote:
<blockquote cite="mid:4DC2358F.8010408@digitalmars.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
<br>
On 5/4/2011 9:24 PM, David Simcha wrote:
<blockquote cite="mid:4DC2268B.50302@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
On 5/4/2011 11:59 PM, Walter Bright wrote:
<blockquote cite="mid:4DC220AC.8040804@digitalmars.com"
type="cite">It's past time. <br>
_______________________________________________ <br>
phobos mailing list <br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:phobos@puremagic.com">phobos@puremagic.com</a>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.puremagic.com/mailman/listinfo/phobos">http://lists.puremagic.com/mailman/listinfo/phobos</a>
<br>
<br>
</blockquote>
<br>
I'd really like to get that #$(&@$ parallelism bug solved.
I don't know what to do about it because it <b>seems</b> to
only occur under a ridiculously narrow set of circumstances but
until I figure out for sure what's going on I won't be fully
confident that it's not some horrible concurrency bug. OTOH, I
have no estimate right now of how much longer that's going to
take. My latest thing to note is that sometimes the stack
pointer, of all things, is somehow getting overwritten with the
value of TaskStatus.done. I have absolutely no clue how. I'm
starting to feel the same way about this bug that I usually feel
about the biology problems I try to solve for my thesis
research: The harder I look, the more confused I get.<br>
</blockquote>
<br>
I feel your pain on that, I've been through that mill many times.
Sometimes it helps to set it down for a moment. Worst case, we
release with a buggy std.parallelism. It's not breaking existing
code because it's new.<br>
</blockquote>
<br>
I've found the extremely subtle race condition that was destroying
stack-allocated tasks in amap and parallel foreach while they were
still referenced and causing scope closures to be deallocated
prematurely in a few ridiculously rare cases. This is obviously
capable of causing stack corruption. I'm going to try to fix it
tonight, but I'm not guaranteeing anything.<br>
</body>
</html>