tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: revivesa status 2008/07/09

On Jul 23, 2008, at 9:15 PM, Ted Lemon wrote:

Just because there aren't many apps that you know of doesn't mean there aren't any at all, nor that there is no potential for growth in this area. There are a lot of apps that use state threads, which is essentially a non-preemptive analog to scheduler activations. This is very useful for applications that have to handle a lot of small tasks that have to process work pipelines where each step in the pipeline involves a wait for some event to occur - either another thread to finish doing something, or for I/O to complete.

The right model for that is to use a continuation. Threads by their nature have stacks and other resources that make them too heavyweight to be appropriate for this type of processing.

-- thorpej

Home | Main Index | Thread Index | Old Index