• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Maximum number of threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Maximum number of threads


  • Subject: Maximum number of threads
  • From: Andreas Yankopolus <email@hidden>
  • Date: Tue, 23 Nov 2004 07:10:31 -0500

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Maximum number of threads
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Re: BOM format and Open Source
  • Next by Date: Re: Maximum number of threads
  • Previous by thread: Re: BOM format and Open Source
  • Next by thread: Re: Maximum number of threads
  • Index(es):
    • Date
    • Thread