Re: thread stack size

2009-10-25 Thread Bruno Haible
Paolo Bonzini wrote: > > The default thread stack size is: > >  - glibc i386, x86_64    7.4 MB > > Even when -lrt is added? Yes, sure, I get the same results whether the program is linked with -lpthread or with -lpthread -lrt. librt is not meant to modify the behaviour of libpthread. Bruno

Re: thread stack size

2009-10-24 Thread Paolo Bonzini
gram: The default thread stack size is: >  - glibc i386, x86_64    7.4 MB Even when -lrt is added? Paolo

Re: thread stack size

2009-10-24 Thread Bruno Haible
Pádraig Brady wrote: > + * lib/copy-file.c (copy_file_preserving): Used a 32KiB malloced > buffer. Fine with me too. Yes, 32 KB is more than you can safely allocate on the stack in a multithreaded program: The default thread stack size is: - glibc i386, x86_647.4 MB - Tru