Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Maximum number of threads



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?

Thanks,

Andreas

_______________________________________________
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

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.