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.
2024年12月25日 星期三 新京报
。一键获取谷歌浏览器下载对此有专业解读
Даниил Иринин (Редактор отдела «Наука и техника»)
await writer.write("Hello, World!");