Can anyone coment on the below with authority? I'm learning a bit about
threads and I'm curious what the answer is.

Thanks,
rus
---

"Vladimir Butenko, Stalker Software, Inc." wrote:
>>Stefan Seiz <[EMAIL PROTECTED]> wrote:
[snip]
>>To have it kill unneeded threads?
> 
> It will kill "excessive" threads. AFAIR, it will start to kill if the
> unemployment level is more then 1/3: if a thread finishes a job and the number
> of unemployed threads waiting for a job is more than 1/3 of the Max number of
> threads(channels) allowed for that service, the thread is not placed into the
> wating pool, but is killed instead.
> 
>>Is this recommended?
> 
> That depends on OS. Killing threads is a dark area in many thread
> implementations. We know that it is safe on Windows, Solaris, and looks like
> safe on MacOSX. On other platforms - use on your own risk.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to