preempt.c File Reference

Simple preemptive multitasking scheduler. More...

#include <cfg/cfg_kern.h>

Go to the source code of this file.


Detailed Description

Simple preemptive multitasking scheduler.

All voluntary and preemptive context switching happens on exit from a common interrupt (signal) dispatcher. Preemption on quantum timeout is regulated by a soft-timer. Other kinds of preemption could happen if an interrupt sends a signal to a higher priority process (but this is still unimplemented).

In the POSIX implementaiton, context switching is done by the portable SVR4 swapcontext() facility.

Version:
Id
proc.c 1616 2008-08-10 19:41:26Z bernie
Author:
Bernie Innocenti <bernie@codewiz.org>

Definition in file preempt.c.