Re: Threadpool thread termination.
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 19 Oct 2005 10:45:24 -0400
objectref,
No, there is no way to do this (and not using the thread pool will not
help either, since you will just end up sucking resources up by using
independent threads until your whole machine comes to a crawl).
Rather, you should identify why those threads are not terminating, and
fix that problem.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"objectref" <objectref@xxxxxxxxxxxxx> wrote in message
news:%23AXTMmJ1FHA.3124@xxxxxxxxxxxxxxxxxxxxxxx
>
> hi to all folks here,
>
> let's say that i am using a threadpool and somehow, some threads in it
> just stuck.
> (endless loop or something like that).
> So, if it receive a request to run for 25 times something that will stuck,
> it simply will not
> be able to take more request to dispatch as it will wait for a thread to
> become available,
> (due to 25 thread limit) something that in this example is not goint to
> happen.
>
> Am i able to identify these threads and somehow stop them so the
> ThreadPool will be
> able to take more request to dispatch ??
>
>
>
> thanks a lot for any help,
>
> objectref
>
.
- References:
- Threadpool thread termination.
- From: objectref
- Threadpool thread termination.
- Prev by Date: Re: Why won't this work?
- Next by Date: Re: Threadpool thread termination.
- Previous by thread: Re: Threadpool thread termination.
- Next by thread: Re: Threadpool thread termination.
- Index(es):
Relevant Pages
|
Loading