Subject: Re: selwakeup()
To: Martin Husemann <martin@duskware.de>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-kern
Date: 03/03/2002 05:31:30
On Thu, 28 Feb 2002, Martin Husemann wrote:
> > unsuccessful so far. Does anyone know whether this function causes
> > or schedules a context switch to the process being woken up?
> 
> It marks processes blocked in a select() or poll() call for the thing
> in the selinfo parameter runnable. This may involve a call to wakeup(),
> if multiple processes are waiting.
> 
> The scheduler may pick one of the now runnable processes the next time it is
> doing a context switch. AFAICT there is no imediate switch to the process
> enforced.

Maybe some comment can be added to sys/kern/sys_generic.c ?


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/