Hi Werner, Can you test it with "standard" X11 and pthread=on OS-X 10.5? If that works should we only allow pthread=on on OS-X 10.5+?
If it isn't going to work for most people on OS-X then I think we should probably set pthread=off by default. -Hazen Werner Smekal wrote: > Hi Hazen, > > I justed tested (shortly) the latest PLplot svn on Mac OS X 10.5.6 using > the latest XQuartz X11 server (http://xquartz.macosforge.org/trac/wiki) > since using the one from Apple is just a PIA. > > I configured PLplot with > > cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TEST=ON ../plplot/ > > and compiled it. > > I think pthread is on since in the CMake output I find: > > -- Looking for include files CMAKE_HAVE_PTHREAD_H > -- Looking for include files CMAKE_HAVE_PTHREAD_H - found > -- Looking for pthread_create in pthreads > -- Looking for pthread_create in pthreads - not found > -- Looking for pthread_create in pthread > -- Looking for pthread_create in pthread - found > -- Found Threads: TRUE > > In the build tree the examples work as expected (more or less). Clicking > with the right mouse button proceeds to the next page as well as > pressing return. Ctrl-C also doesn't work either, but that might be due > the threading stuff. > > Since I'm using a non standard X11 server this test might be not useful > at all, but at least we know that it's the fault of Apple's X11 > implementation (as usual) and not of PLplot. > > Regards, > Werner > > On 11.01.2009, at 07:27, Hazen Babcock wrote: > >> >> Hello, >> >> Now that we have HAVE_PTHREAD = ON by default the xwin driver locks >> up on OS-X (10.4, PPC). Clicking on the window and pressing return >> does nothing, and ctrl-c does not kill the process either. It seems >> that the only way to stop it is to click on the close window button >> or ctrl-z followed by looking up the process and doing an explicit >> kill with "kill -9 PID". >> >> Does anyone know if the xwin driver works as expected with OS-X 10.5 >> and/or a Intel mac? Or should we turn pthread off for all OS-X machines? >> >> -Hazen >> ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel