[Israel.pm] Threads with non-thread compilation
yuval at windax.com
Fri Nov 9 03:07:27 PST 2007
Yossi Itzkovich wrote:
> 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 ?
If you use the threads pragma, just use forks instead.
It's a drop-in replacement for threads, so the rest of the code remains
Of course, you can always just recompile your perl to support threads,
More information about the Perl