[dmd-beta] dmd 1.068 and 2.053 final beta

Sean Kelly sean at invisibleduck.org
Wed May 25 11:29:28 PDT 2011


Do you see this error with DMD 2.052?

On May 24, 2011, at 6:36 AM, d coder wrote:

> Sean
> 
> >>>> core.thread.ThreadException at src/core/thread.d(2338): Unable to suspend thread
> 
> I am getting this same error for DMD 2.053 and for 2.051 as well.
> 
> In my case the error comes only when:
> 
> a) the number of threads is huge
> AND
> b) more than one thread is active at a time
> 
> So for example if number of threads is 1024 and only one thread is activated at a given time (using semaphores) I never get this issue. But if two or more threads are activated, I am getting this run-time exception around 20% of the times I run the application.
> 
> On the other hand if the number of threads is 512 and all of them are simultaneously active, I do not get to see this error.
> 
> I do not know how to debug such issues. If you can guide I would be willing to spend some time.
> 
> Regards
> - Puneet
> 
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta



More information about the dmd-beta mailing list