p4raw-id: //depot/perl@12677
use attributes qw(reftype);
BEGIN {
- if($Config{'useithreads'} && $Config::threads) {
+ if($Config{'useithreads'} && $threads::threads) {
*share = \&share_enabled;
*cond_wait = \&cond_wait_disabled;
*cond_signal = \&cond_signal_disabled;
#check Config
-ok(5, 1 == $Config::threads,"Check that Config::threads is true");
+ok(5, 1 == $threads::threads,"Check that threads::threads is true");
#test trying to detach thread