Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

configuring boost::thread stack size

Is there a way to configure the boost::thread stack size?

like image 784
pcent Avatar asked Sep 13 '25 05:09

pcent


1 Answers

No, AFAIK.

Maybe you could try with native_handle() thread's member function and set the stack size with a call to OS' API (pthread_attr_setstacksize() on POSIX systems maybe?).

like image 60
Simone Avatar answered Sep 14 '25 18:09

Simone