Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-12-01 05:19:16


> if I try to create more than 255 threads (256 for instance) I get the
> exception thread_resource_error thrown. How can I increase the amount
> of threads?
> My System: Linux 2.4.21, gcc 3.3.1 (posix thread model).
>
> cat /proc/sys/kernel/threads-max --> max 12152 threads per process
> currently allowed

I don't believe this is an issue with Boost.Threads but with the underlying
pthread system library it relies on. I could be wrong though.... anyone
else?

John.


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