Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SetEvent でイベントをトリガーしてしばらくすると、WaitForSingleObject でイベントを受け取ることができます。私が知りたいのは、イベントが受信される前に OS で常に使用できるかどうかです。
イベント オブジェクトは、リセットされるまでシグナル状態のままになります。自動リセット イベントの場合は、他のスレッドがそれを待機しないようにする必要があります。
誰も (暗黙的または明示的に) イベントをリセットせず、削除しない限り、後でWaitForSingleObject.
WaitForSingleObject