8.信号

以下内容来自B站老杨

 

 结果:

 信号在打开后会处于打开状态,可以使用signal.Reset()方法将其再次关闭。

原文地址:https://www.cnblogs.com/LeeSki/p/14303533.html