From: <ai...@us...> - 2009-04-26 01:14:35
|
Revision: 9851 http://plplot.svn.sourceforge.net/plplot/?rev=9851&view=rev Author: airwin Date: 2009-04-26 01:14:33 +0000 (Sun, 26 Apr 2009) Log Message: ----------- By experiment we have recently found our pthread code causes segfaults in the Tk components of PLplot on Linux (which is the platform for which our original pthread support was implemented). Until this issue is addressed we consider our pthread code to be experimental which is why we are turning it off (HAVE_PTHREAD set to OFF by default) now for all platforms. Modified Paths: -------------- trunk/cmake/modules/xwin.cmake Modified: trunk/cmake/modules/xwin.cmake =================================================================== --- trunk/cmake/modules/xwin.cmake 2009-04-25 03:09:12 UTC (rev 9850) +++ trunk/cmake/modules/xwin.cmake 2009-04-26 01:14:33 UTC (rev 9851) @@ -40,7 +40,10 @@ # get a clear report that official X works for 10.5. option(HAVE_PTHREAD "Use pthreads with the xwin driver" OFF) else(CMAKE_SYSTEM_NAME STREQUAL "Darwin") - option(HAVE_PTHREAD "Use pthreads with the xwin driver" ON) + # Turn HAVE_PTHREAD OFF by default everywhere else as well since it + # has been discovered it interacts so poorly with the Tk components + # of PLplot on Linux that it causes segfaults for those components. + option(HAVE_PTHREAD "Use pthreads with the xwin driver" OFF) endif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") if(HAVE_PTHREAD) find_package(Threads) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |