TerminateProcess and deadlocks

Posted by Tony on Stack Overflow See other posts from Stack Overflow or by Tony
Published on 2010-05-25T21:19:19Z Indexed on 2010/05/26 8:21 UTC
Read the original article Hit count: 202

Filed under:
|
|
|

Is it real that the TerminateProcess function in Windows could hang because the threads inside the process were stuck in a deadlock?

Example: Process A is running under Process B's control, now Process A gets into a deadlock and Process B detects this and decides to 'Kill' process A using TerminateProcess.

Would it be successful in killing the hung Process A?

© Stack Overflow or respective owner

Related posts about c++

Related posts about threading