From 64bef2058a7987c90598511692e001084f2e4971 Mon Sep 17 00:00:00 2001 From: sakolish Date: Mon, 11 Feb 2008 20:14:51 +0000 Subject: [PATCH] Replace sleep(0.1) with Time::HiRes::sleep(0.1). Apparently, sleep 0.1 transaltes to sleep(0) - Line #113 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT-2.0/xCAT/PPC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT-2.0/xCAT/PPC.pm b/perl-xCAT-2.0/xCAT/PPC.pm index 604682b2c..b9424755e 100644 --- a/perl-xCAT-2.0/xCAT/PPC.pm +++ b/perl-xCAT-2.0/xCAT/PPC.pm @@ -110,7 +110,7 @@ sub process_command { foreach ( @$nodes ) { while ( $children > $maxp ) { - sleep(0.1); + Time::HiRes::sleep(0.1); } my $pipe = fork_cmd( @$_[0], @$_[1], $request ); if ( $pipe ) {