Bug in phobos Thread module?

kenny funisher at gmail.com
Sat May 12 09:09:10 PDT 2007


Regan Heath wrote:
> kenny Wrote:
>> I also experience the same issue in linux. It happens after I create/delete over 8000 threads. I dunno why 8000 is the magic number, but it is for my machine. I'll try and look into it as well on linux. Just wanted to let you know that the problem also occurs in linux
> 
> Each operating system has a maximum number of handles, it differs for operating system, each version of each operating system, and can be defined for each process upon execution as well.  Or so I recall from my travels.
> 
> Regan Heath

wow, now it's only giving me 382 threads... here is test code. Later today, I will dip into phobos and try and find the problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thread_test.d
Type: text/x-dsrc
Size: 331 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20070512/9d3608c6/attachment.d>


More information about the Digitalmars-d mailing list