Click here to Skip to main content
15,908,674 members

Comments by helloboboyu (Top 2 by date)

helloboboyu 9-Jan-24 1:46am View    
Because I need to keep monitoring these events until the process exits, my approach is to monitor the TerminateProcess function. My worker thread will not receive the termination event until the program calls this API to end itself, and then release all resources. . But the current problem is that it seems to prevent the program from receiving TerminateProcess before I release the resources. Check the main thread through windbg. It is calling KERNELBASE!UnregisterWaitEx to wait for an event. I am still analyzing what it is waiting for.
helloboboyu 27-Dec-23 4:00am View    
I'm not sure what that means. Could you tell me more about it, please