[wx-dev] wxthread & stacksize on linux (FC5)

Vadim Zeitlin vadim at wxwindows.org
Fri Sep 1 05:36:01 PDT 2006


On Fri, 1 Sep 2006 13:53:36 +0200 (MEST) "Jacob (=Jouk) Jansen" <joukj at hrem.nano.tudelft.nl> wrote:

JJ> Why cannot the the routine
JJ>      pthread_attr_setstacksize( &attr , stacksize );
JJ> be called just after pthread_attr_init(&attr); ?
JJ>    (see file src/unix/threadpsx.cpp)

 If you've looked at this code you must have noticed that it is already
called from wxThread::Create() if pthread_attr_setstacksize() is supported
by your system. My guess would be that setup.h_vms doesn't define 
HAVE_PTHREAD_ATTR_SETSTACKSIZE.

 Regards,
VZ





More information about the wx-dev mailing list