The semantics around releasing locks with pending reads were also unclear for years. If you called read() but didn't await it, then called releaseLock(), what happened? The spec was recently clarified to cancel pending reads on lock release – but implementations varied, and code that relied on the previous unspecified behavior can break.
Not the day you're after? Here's the solution to yesterday's Connections.
,推荐阅读91视频获取更多信息
Main Server (Async Runtime)。关于这个话题,夫子提供了深入分析
But engineers want water in their pipes, not fish.