----- Original Message ----- 
From: "Chris Marshall" <[EMAIL PROTECTED]>
.
.
>
> Some of the reading I did suggested that the pthreads
> library must come before the c library or that it could
> be loaded dynamically.  I assumed it was being pulled
> in somehow---because of my initial success with the
> 2X performance increase.
>

Once I managed to get the PDL build process to link to the pthread library
(via a couple of minor amendments to Basic/Core/Makefile.PL) then setting
WITH_POSIX_THREADS => 1 was all I needed to do on linux.
Running 'perl -Mblib t/pthread.t' revealed that threaded and unthreaded took
the same amount of time (within a few percent).

Cheers,
Rob


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to