Contiki 2.6

process.c File Reference

Implementation of the Contiki process kernel. More...

#include <stdio.h>
#include "sys/process.h"
#include "sys/arg.h"

Go to the source code of this file.

Functions

Functions called from application programs
process_event_t process_alloc_event (void)
 Allocate a global event number.
void process_start (struct process *p, const char *arg)
 Start a process.
void process_exit (struct process *p)
 Cause a process to exit.
int process_post (struct process *p, process_event_t ev, void *data)
 Post an asynchronous event.
void process_post_synch (struct process *p, process_event_t ev, void *data)
 Post a synchronous event to a process.
Functions called by the system and boot-up code
void process_init (void)
 Initialize the process module.
int process_run (void)
 Run the system once - call poll handlers and process one event.
int process_nevents (void)
 Number of events waiting to be processed.
int process_is_running (struct process *p)
 Check if a process is running.
Functions called from device drivers
void process_poll (struct process *p)
 Request a process to be polled.

Detailed Description

Implementation of the Contiki process kernel.

Author:
Adam Dunkels <adam@sics.se>

Definition in file process.c.