That was the origin of my original query. I think the check for pthreads looks at what perl itself has been linked with but I didn't think that was actually what was needed. A better check would be if you actually have the pthreads library on your system. The only issue might arise if you selected a different one from the one perl was built with---if that were the case....
--Chris On Wed, Aug 31, 2011 at 11:44 AM, Doug Hunt <[email protected]> wrote: > Hi all: Regarding PDL pthreads--when testing PLplot and pthreads, I had to > get a thread-enabled version of perl working: > > Configure -Dusethreads -des # perl configure step > > I had thought that -Dusethreads was what one enabled to allow perl > threading, so it seems to me they are at least related. > > Regards, > > Doug > > > [email protected] > Software Engineer > UCAR - COSMIC, Tel. (303) 497-2611 > > On Wed, 31 Aug 2011, Chris Marshall wrote: > >> Thanks for the confirmation. It means that it should be >> possible to get pthreads support in for win32 and cygwin >> platforms. >> >> --Chris >> >> On Wed, Aug 31, 2011 at 8:26 AM, John Cerney <[email protected]> >> wrote: >>> >>> Correct, the PDL pthreads implementation is independent of perl threads. >>> >>> -John >>> >>> On 8/30/2011 4:25 PM, David Mertens wrote: >>> >>> John, please correct me if I'm wrong, but I believe it is independent of >>> Perl threads. The idea, as I understood it, was to leverage light weight >>> threading to parallelize calculations if your system supported it. The >>> threads are initialized and finalized in the same C function, so you >>> don't >>> need to worry about Perl-aware threads. >>> >>> However, I have not studied the implementation too closely, so take what >>> I >>> have to say as an educated guess. >>> >>> David >>> >>> On Aug 30, 2011 4:01 PM, "Chris Marshall" <[email protected]> wrote: >>> >>> >>> _______________________________________________ >>> Perldl mailing list >>> [email protected] >>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl >>> >> >> _______________________________________________ >> Perldl mailing list >> [email protected] >> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl >> > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
