proc.h File Reference

Process scheduler (public interface). More...

#include <cfg/compiler.h>
#include <cpu/irq.h>
#include <config_kern.h>

Go to the source code of this file.


Defines

#define PROC_ATOMIC(CODE)
 Execute a block of CODE atomically with respect to task scheduling.

Functions

void proc_exit (void)
 Terminate the current process.
void proc_switch (void)
 Co-operative context switch.
struct Process * proc_current (void)
 Get the pointer to the current process.
iptr_t proc_current_user_data (void)
 Get the pointer to the user data of the current process.
void proc_rename (struct Process *proc, const char *name)
 Rename a process.

Detailed Description

Process scheduler (public interface).

Version:
Id
proc.h 1129 2008-02-18 15:33:46Z bernie

Author:
Bernardo Innocenti <bernie@develer.com>

Definition in file proc.h.