On 2008-12-22 20:55-0000 Andrew Ross wrote: > > Hi Derek, > > There is no real reason not to enable pthreads on a Linux system. I > maintain the Debian / Ubuntu packages and we certainly build them with > pthread support.
Derek, we set if OFF by default originally because thread support was pretty awful when we first introduced this feature. Our inertia meant we never thought much about turning HAVE_PTHREAD=ON by default until now. :-( Thanks for your suggestion to do that which I have just implemented (revision 9215). This should be fine for Linux systems (from Andrew's comments above and also my Linux testing experience), but we will see how it goes for other platforms. The CMake support behind cross-platform threading seens fairly extensive so other platforms may be fine as well. If those testing the svn trunk version of PLplot with non-Linux platforms report no problems everybody will get this feature for the next release, but otherwise I will make an additional change so its only ON by default for Linux. In any case HAVE_PTHREAD=ON will eventually propagate to Linux distributions. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general