Boost logo

Boost Users :

From: Nat Goodspeed (nat_at_[hidden])
Date: 2007-10-24 11:56:00


Apostolos Apostolidis wrote:
> I have checked both variables and set them way beyond 400. Nothing
> changed and I keep getting the same error.

At the risk of sounding foolish -- I do not know these variables -- I
wonder whether their function is merely to report the capability of the
host system, rather than to allow overriding it?

> Note that this also happens if I spawn POSIX threads from a C program.

That's actually good news. Since it's not a Boost-specific issue, you
can ask in a list where you're more likely to find thread gurus.

> On 23/10/2007, *Sohail Somani* <s.somani_at_[hidden]
> <mailto:s.somani_at_[hidden]>> wrote:
>
> On Mon, 2007-22-10 at 09:51 +0100, Apostolos Apostolidis wrote:
> > Hi all. I have developed some code allowing a thread group of 500
> > threads to run.
> > However, as soon as the 381st thread is spawned, I get the following
> > runtime error :
> >
>
> I think you want to take a look at _POSIX_THREAD_THREADS_MAX or
> PTHREADS_THREADS_MAX. One of the two (I forget which) dictates what you
> are guaranteed to be able to do.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net