On 2015-03-24 14:55-0400 Jim Dishaw wrote: > One solution to the plsc issue is to use thread local storage. Both gcc and > msvc support it.
I had frankly never heard of that, but I have now looked it up, and it does sound like it might work, but with some caveats. The biggest of those in my opinion is it is not part of the c99 standard (see <http://stackoverflow.com/questions/6869391/using-thread-in-c99>). So I would recommend we do a lot more testing of all possible compilers (e.g., clang, Intel) before getting comfortable with this idea, and currently I am just more comfortable if we deal with this issue in the old-fashioned way (i.e., with API changes). 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); 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 __________________________ ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel