Re: spawn bug?

2011-01-25 Thread Sean Kelly
Sean Kelly Wrote: This one is weird, and doesn't appear related to 4307. One of the threads (thread A) is in a GC collection and blocked trying to acquire the mutex protecting the global thread list within thread_resumeAll. Another thread (thread B) is also blocked trying to acquire

Re: spawn bug?

2011-01-25 Thread Adam Conner-Sax
I tried to get a bugzilla account but it never emailed me the verification. I'll try again and then try to figure out how to post this there. Thanks for looking into it. Adam

Re: spawn bug?

2011-01-25 Thread Adam Conner-Sax
Okay, figured out puremagic a little. http://d.puremagic.com/issues/show_bug.cgi?id=5488

spawn bug?

2011-01-23 Thread Adam Conner-Sax
The attached code usually hangs (running on OSX, dmd 2.051). It uses spawn to create a new thread. All the thread does is create a large array of doubles. In one case it uses the Array!double from std.container. In the other case it uses the built in dynamic double[]. It declares the array,

Re: spawn bug?

2011-01-23 Thread Jonathan M Davis
On Sunday 23 January 2011 20:34:16 Adam Conner-Sax wrote: The attached code usually hangs (running on OSX, dmd 2.051). It uses spawn to create a new thread. All the thread does is create a large array of doubles. In one case it uses the Array!double from std.container. In the other case it