[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [apache-plusplus] Process model ideas for C++ Apache.
On Fri, 29 May 1998, Michael Anderson wrote:
> Dean Gaudet wrote:
>
> > For example, NT's completion ports restart the most
> > recently blocked thread because it's most likely to still be
> > in the caches.
>
> Sounds like a recipe for starvation of other threads. And I'm
> not sure haow effective that would be - threads block for a
> reason, and if that reason still exists, that thread can't run
> and may be subsequently flushed from the cache before the reason
> is satisfied.
No you misunderstand. It's a thread/fiber model. The fibers aren't
starved. The threads are virtual cpus... and can run any fiber. They
talk about it in the JAWS papers.
Dean