Can a single SetEvent() trigger multiple WaitForSingleObject()

前端 未结 4 1985
一向
一向 2021-02-09 00:35

This:

http://msdn.microsoft.com/en-us/library/ms686915(VS.85).aspx

Would seem to suggest not.

I have three processes communicating via pipes. Process A C

4条回答
  •  旧巷少年郎
    2021-02-09 01:01

    Use manual reset events to trigger multiple threads off of a single event.

    Here is an example which uses "Manual Reset Event" flag

提交回复
热议问题