资源加载中... loading...

isSet

isSet()函数用于判断是否已经设置了事件(信号)。

isSet()函数返回是否已经设置了事件(信号);如果当前已经设置过事件(信号)则返回真值。

bool

isSet()

可以参考threading.Event()章节范例。

{@fun/Threads/ThreadEvent/set set}, {@fun/Threads/ThreadEvent/clear clear}, {@fun/Threads/ThreadEvent/wait wait}

wait ThreadCondition