This is important because:
int some_function() {
。PDF资料对此有专业解读
Atomic registration: wait_for checks the current value and registers the queue inside the same lock acquisition, closing the race where a transition could slip between registration and the initial check.。业内人士推荐PDF资料作为进阶阅读
ITmedia�̓A�C�e�B���f�B�A�������Ђ̓o�^���W�ł��B。关于这个话题,PDF资料提供了深入分析