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

Detailed Description

    Implementation of the Contiki process kernel.
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file process.c.