Open lujihong opened 3 years ago
这不是死锁,协程在sleep,等待事件通知.
sleep
这不是死锁,协程在sleep,等待事件通知. 那就是swoole 误报了?
你也不能这么理解,你记住不是死锁就行了.
报这个错没影响吧
=================================================================== [FATAL ERROR]: all coroutines (count: 1) are asleep - deadlock!
[Coroutine-1]
0 Swoole\Coroutine\Socket->accept() called at [/opt/www/vendor/easyswoole/component/src/Process/Socket/AbstractUnixProcess.php:38]
1 EasySwoole\Component\Process\Socket\AbstractUnixProcess->run() called at [/opt/www/vendor/easyswoole/words-match/src/Process/DFAProcess.php:36]
2 EasySwoole\WordsMatch\Process\DFAProcess->run() called at [/opt/www/vendor/easyswoole/component/src/Process/AbstractProcess.php:153]