On Nov 23, 2004, at 4:10 AM, Andreas Yankopolus wrote:
I'm bumping into what appears to be Darwin's pthread limit: my process
stops creating threads after spinning off about 2558 of them (top
gives a system total of 2711 threads). I've reduced the stack size of
each thread, so I'm not running out of memory. On Linux, I'd recompile
the threading library with a larger number for PTHREAD_THREADS_MAX.
How do I go about raising the limit on OS X?
(don't know the answer to your question but...)
Wow... why so many threads?
Why not a thread pool of worker threads that you can take tasks off of
a queue or something?
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden