Subject: | speedy/t/thread test fails on Perl 5.8 |
Since Perl 5.8, thread model changed, and 'Thread' module now behaves as
compatibility layer working with 'threads' module.
Attached patch might work.
Subject: | speedy_t_thread.patch |
--- speedy/t/scripts/thread.orig 2003-06-01 15:13:40.000000000 +0900
+++ speedy/t/scripts/thread 2006-12-14 10:55:07.176613847 +0900
@@ -4,6 +4,13 @@
use Config;
use Thread;
+BEGIN {
+ if ($] >= 5.008001 && $Config{useithreads}) {
+ require threads;
+ import threads;
+ }
+}
+
if ($ARGV[0] == 1) {
# Just report if threads are available.
die unless $Config{usethreads};