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

Jacob =JoukJansen joukj at hrem.nano.tudelft.nl
Fri Sep 1 05:38:57 PDT 2006


VZ wrote on 1-SEP-2006 14:36:30.22

>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.
Since this question is about linux (FC5) setup.h_vms (although it defines
the variable has nothing to do with it.
(E-mail coming from me not automatically is about OpenVMS!!)

The documentation on page
  http://www.wxwindows.org/manuals/2.6.3/wx_wxthread.html#wxthread
tells me that it is ignored for unix (linux) systems

However, I see now the problem : it is not implemented in the last stable
release 2.6.3. So I'll have to upgrade to 2.7.0.



I normally develop on openVMS (where I have all the bleeding edge
versions of the packages). On the linux system I have only the stable versions
running. (and wxWidgets 2.7.0 is still listed as a test version)

                  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