Instead of waking consumers and asking "is the current state what you want?", buffer every transition into a per-consumer queue. Each consumer drains its own queue and checks each transition individually. The consumer never misses a state.
Марина Аверкина
,详情可参考服务器推荐
На помощь российским туристам на Ближнем Востоке ушли миллиарды рублей20:47
В МОК высказались об отстранении израильских и американских спортсменов20:59