Re: Max number of pthreads in one process?
Re: Max number of pthreads in one process?
- Subject: Re: Max number of pthreads in one process?
- From: Army Research Lab <email@hidden>
- Date: Tue, 20 May 2008 15:25:44 -0400
- Thread-topic: Max number of pthreads in one process?
> ------------------------------
>
> Message: 3
> Date: Mon, 19 May 2008 20:53:56 -0700
> From: Eric Gouriou <email@hidden>
> Subject: Re: Max number of pthreads in one process?
> To: Darwin Dev <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="us-ascii"
>
>
> On May 19, 2008, at 11:52 AM, Mike wrote:
>> Army Research Lab wrote:
> [... way too many threads ...]
>>
>> I believe I read somewhere the max # of processes per thread on OS X
>> is 256, although you may want to check that. I think I recall
>> reading it somewhere in the Multithreading Guide.
>
> It is 2500 on Leopard, per a recent discussion on the Java-Dev
> mailing list.
>
> As in that discussion, I'll reiterate my (somewhat informed) opinion
> that getting
> anywhere close to that limit is a recipe for a performance disaster.
>
> Eric
Don't worry, I'm not REALLY planning on doing anything like that! :) This
was more of a 'what-if' exercise, just to see if any bugs turn up. And, as
it turns out, one did.
Thanks,
Cem Karan
_______________________________________________
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