wxthread & stacksize on linux (FC5)
Jacob =JoukJansen
joukj at hrem.nano.tudelft.nl
Fri Sep 1 04:53:36 PDT 2006
Hi all,
My application creates a thread using wxThread->Create()
The thread calls somewhere a recursive routine. If the recusiviness is too
deep I get stack problems. Normally one raises the stack size of the thread.
However the WX manual tells me that stacksizes on threads are not supported
on unix (I'm running Fedora core5 (FC5)).
Why cannot the the routine
pthread_attr_setstacksize( &attr , stacksize );
be called just after pthread_attr_init(&attr); ?
(see file src/unix/threadpsx.cpp)
Jouk
Bush : All votes are equal but some votes are more equal than others.
>------------------------------------------------------------------------------<
Jouk Jansen
joukj at hrem.nano.tudelft.nl
Technische Universiteit Delft tttttttttt uu uu ddddddd
Kavli Institute of Nanoscience tttttttttt uu uu dd dd
Nationaal centrum voor HREM tt uu uu dd dd
Lorentzweg 1 tt uu uu dd dd
2628 CJ Delft tt uu uu dd dd
Nederland tt uu uu dd dd
tel. 31-15-2782272 tt uuuuuuu ddddddd
>------------------------------------------------------------------------------<
More information about the wx-dev
mailing list