Threaded::notifyOneSynchronization 説明
public bool Threaded::notifyOne()
Send notification to the referenced object. This unblocks at least one of the blocked threads (as opposed to unblocking all of them, as seen with Threaded::notify). パラメータこの関数にはパラメータはありません。 戻り値
成功した場合に 例
例1 Notifications and Waiting
上の例の出力は以下となります。 bool(true) |