Click here to Skip to main content
Click here to Skip to main content
Alternatives (1)

Terminate a hanging thread

, 16 Jan 2012
How to avoid memory leak in WinXP, if you kill a thread


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

25 Dec 2011  
The right thing to do in this case is attach a debugger to determine the underlying cause of the the deadlock. This solution ignores the fact that the thread being terminated might have an exclusive lock on other critical resources (e.g., the OS loader lock or any application defined...


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author


Germany Germany
No Biography provided

| | Privacy | Mobile
Web03 | 2.8.140709.1 | Last Updated 16 Jan 2012
Article Copyright 2011 by trotwa
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid