Re: your mail

Alan Cox (
Tue, 1 Apr 1997 18:22:50 +0100 (BST)

> >It's not threaded at all. Is there any way to have it yield if it doesn't
> >use kernel_threads? I really don't know much about in-kernel scheduling.
> Call schedule() any time you want to yield.

Myth warning. If your process happens to running real time this doesnt come
out too well. I guess you might argue the behaviour (not yielding) is right
but you might get some suprises, especially on an SMP box where the following
is not safe


Take a look at stuff like sched_yield()