Windows multi-threading performance issues on multi-core systems only

Sean Kelly sean at invisibleduck.org
Wed Dec 16 07:46:10 PST 2009


Michel Fortin Wrote:

> On 2009-12-16 07:08:30 -0500, Jacob Carlborg <doob at me.com> said:
> 
> > On 12/16/09 03:44, Michel Fortin wrote:
> >> Core 2 Duo / Mac OS X 10.6 / 4 threads:
> >> 
> >> Crystal:~ mifo$ ./test
> >> Set affinity, then press enter.
> >> 
> >> Bus error
> >> 
> >> Runs for about 18 seconds, then crashes. At first glance, it looks as if
> >> the Thread class is broken and for some reason I get a null dereference
> >> when a thread finishes. Great!
> > 
> > It runs fine on Mac OS X 10.5 with dmd 2.037.
> 
> Then that would be specific to 10.6. I've filled a bug.
> 
> http://d.puremagic.com/issues/show_bug.cgi?id=3619

I haven't changed the thread code in eons, so I'm currently attributing this to either the change in how static arrays are passed or some other compiler issue.  I'm using 10.6 myself, so I'll give it a look.



More information about the Digitalmars-d mailing list