|
@@ -294,7 +294,7 @@ abstract class ILooper
|
|
|
Swoole\Coroutine::sleep(1);
|
|
|
}
|
|
|
|
|
|
- Log::record("wait running coroutine count = {$count} quit.",Log::DEBUG);
|
|
|
+ Log::record("wait running subcoroutine count = {$count} quit.",Log::DEBUG);
|
|
|
}
|
|
|
while($count > 0);
|
|
|
|
|
@@ -314,8 +314,10 @@ abstract class ILooper
|
|
|
try
|
|
|
{
|
|
|
if($this->_pause == 1) {
|
|
|
+ Log::record("runlooper subcoroutine pause",Log::DEBUG);
|
|
|
$this->_pause = 2;
|
|
|
Swoole\Coroutine::suspend();
|
|
|
+ Log::record("runlooper subcoroutine resume",Log::DEBUG);
|
|
|
}
|
|
|
if ($this->_stop) break;
|
|
|
|