Boost logo

Boost Users :

From: schalk_cronje_at_[hidden]
Date: 2002-11-21 09:50:58


Eske Christiansen said:
> Hej boost-users.
>
> I'm compiling a test thread program where I create 255 thread but I get
> an "Program received signal SIGABRT, Aborted." after thread 254 I
> running redhat 7.3 and using boost 1.28.00. Is it an OS problem or a
> boost problem?

I find it strange that it stopped at 255 threads. Maximum number of threads
in linux is 1024 as defined by PTHREAD_THREADS_MAX in
/usr/include/bits/local_lim.h. With default stacksize you would have
allocated 500M of virtual memory, but I am not too sure if that would result
in thread creation failure.


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