In ConverseExit, instead of jsleep'ing for Cmi_shutdown_done, we now pause().
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Fri, 21 Mar 1997 02:24:49 +0000 (02:24 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Fri, 21 Mar 1997 02:24:49 +0000 (02:24 +0000)
src/arch/net/machine.c

index e347ef116a948207b0bc0938288b75e1ad813f27..146a41b861b2015911ec7a6b39e5266c8d333fd2 100644 (file)
@@ -2057,7 +2057,7 @@ void ConverseInitPE()
 void ConverseExit()
 {
   ctrl_sendone(120,"aset done %d TRUE\n",CmiMyPe());
-  while (Cmi_shutdown_done == 0) jsleep(0, 250000);
+  while (Cmi_shutdown_done == 0) pause();
   ctrl_sendone(120,"ending\n");
   if (CmiMyRank()==0) log_done();
 }