请问 Windows 下的 C++ 如何像 linux 那样调用 kill() 函数向另一个进程发送SIGXXX信号?
PHPz2017-04-17 15:07:09
If the other party has a window, you can use SendMessage or PostMessage
If there is no window, you can use the kernel synchronization variable Event. The receiver uses WaitForSingleObject to wait, and the sender uses SetEvent to believe