logo       

Re: more then 254 threads?: msg#00240

lib.boost.user

Subject: Re: more then 254 threads?


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?

You've hit an OS limit. See
http://pauillac.inria.fr/~xleroy/linuxthreads/faq.html, FAQ D.9. I'm
assuming the library detected this and through a
boost::thread_resource_error which you failed to catch resulting in the
SIGABRT?

William E. Kempf




Info: <http://www.boost.org>
Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
Unsubscribe: <mailto:boost-users-unsubscribe@xxxxxxxxxxxxxxx>


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise