没执行一次con.notify_all()操作。wait_for中的函数便执行一次判断,直至其结果为true. 测试代码: import asyncio def judge()-> ...
確定! 回上一頁