Can Events be Inter-Process?

后端 未结 2 579
挽巷
挽巷 2021-02-06 09:10

I have created an event in one process and to test, sent the event handle via a pipe to a totally separate process (not a child thread)

When I fire the event in the firs

2条回答
  •  有刺的猬
    2021-02-06 09:29

    You need to create a named event and open it in both processes. If you have multiple processes listening, you may consider using a semaphore.

提交回复
热议问题