CodePudding user response:
The main thread to notify the child thread exits, can send a message or EVENT to inform them,WaitForMultipleObjects (hEvent, _countof (hEvent), TRUE, INFINITE). All threads waiting for the exit
CodePudding user response:
The main thread to notify the child thread exits, can send a message or EVENT to inform them,