More Config::threads to threads::threads changes

p4raw-id: //depot/perl@12677
This commit is contained in:
Artur Bergman 2001-10-26 12:37:17 +00:00
parent 8222d950c8
commit 9ece3ee665
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ use Scalar::Util qw(weaken);
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;

View File

@ -69,7 +69,7 @@ threads->create('test3',1)->join();
#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