3 ms·
The run-time checks if all goroutines are asleep and waiting for input. If true it panics and halts the program. It can't detect live-lock or thrashing, if you
by jamesmiller5 14y ago
The run-time checks if all goroutines are asleep and waiting for input. If true it panics and halts the program.
It can't detect live-lock or thrashing, if you are still waking up other goroutines but not doing anything useful it won't prevent that.