[Israel.pm] Threads with non-thread compilation

Shmuel Fomberg semuelf at 012.net.il
Mon Nov 5 12:04:59 PST 2007


>From: Yossi Itzkovich

>If I use Thread module but the Perl interpreter was compiled with
>default flags (= no threads support), does it mean the code will not run
>at all, or will be just serialized ?

It is not possible (in any programming language) to auto-serialize threaded
program. 
In Perl, you should get the following error message: 
This Perl not built to support threads
(taken from thread's docs on CPAN)

Shmuel.





More information about the Perl mailing list