
30 Nov
2007
30 Nov
'07
8:07 a.m.
Mathias Gaunard <mathias.gaunard@ens-lyon.org> writes:
Phil Endecott wrote:
I'm not aware of a way to set the stack size for a new thread in either Boost.Thread or the proposed std::thread. Is this something that should be considered?
It seems that on my 32-bit Linux box I get 8 MByte stacks by default.
I can't find a way to specify it in the pthread API.
pthread_attr_setstacksize Anthony -- Anthony Williams Just Software Solutions Ltd - http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL