Re: C# Threading, and suspending or killing a thread
- From: Markus Stoeger <spamhole@xxxxxx>
- Date: Mon, 06 Mar 2006 20:47:46 +0100
Rob wrote:
Hello,
I've got an issue where a process in a third party application has a dll which while exiting sort of freezes and runs away with processor cycles.
i've written a block of code so that I can drill down into the process, and get the offending Thread's ID (since the only ones that will have the issue have higher User processor Time).
But, I can't figure out how to have my .Net app 'kill' or 'suspend' a Thread based on the Id I have gotten. I see a lot of samples on how to do this with treads your application starts itself, but nothing 'external' to the app.
Anyone able to lend a hand?
I'd definitely get them to fix their code instead of creating ugly workarounds. No piece of code lasts longer than a workaround.
Max
.
- Prev by Date: Re: Handling event log full error?
- Next by Date: Re: Aspx files fail to execute
- Previous by thread: UDP sockets
- Next by thread: RE: C# Threading, and suspending or killing a thread
- Index(es):
Loading