网络 争用; 冲突条件; 竞速; 种族歧视
This could result in race conditions if one thread is adding to the end of the list while another is iterating through it.
如果将某个线程添加到列表末尾时,其他线程正在遍历该列表,那么可能会产生竞态条件(racecondition)。
Fewer race conditions because the messages are all handled sequentially in the code with no need for callbacks interrupting the flow.
由于所有消息都在代码内顺序处理,回调没有必要打断应用程序流,因此竞争条件(racecondition)更少。