preempt.c File Reference

Simple preemptive multitasking scheduler. More...

#include "cfg/cfg_proc.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
preempt.c 2506 2009-04-15 08:29:07Z duplo
Author:
Bernie Innocenti <bernie@codewiz.org>

Definition in file preempt.c.