summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Thread.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Thread.pm b/lib/Thread.pm
index d3e27e1661..c6489541bb 100644
--- a/lib/Thread.pm
+++ b/lib/Thread.pm
@@ -316,7 +316,8 @@ BEGIN {
no strict 'refs';
*{"Thread::$m"} = \&{"threads::shared::${m}_enabled"};
}
- unimplement(qw(list done eval flags));
+ # trying to unimplement eval gives redefined warning
+ unimplement(qw(list done flags));
} elsif ($othreads) {
XSLoader::load 'Thread';
unimplement(qw(unlock));