Contiki-NG
Loading...
Searching...
No Matches

Implementation of the Contiki process kernel. More...

#include <stdio.h>
#include "contiki.h"
#include "sys/process.h"
#include "sys/log.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, process_data_t data)
 Start a process.
 
void process_exit (struct process *p)
 Cause a process to exit.
 
int process_post (struct process *p, process_event_t ev, process_data_t data)
 Post an asynchronous event.
 
void process_post_synch (struct process *p, process_event_t ev, process_data_t 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.
 
process_num_events_t process_run (void)
 Run the system once - call poll handlers and process one event.
 
process_num_events_t process_nevents (void)
 Number of events waiting to be processed.
 
bool 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@.nosp@m.sics.nosp@m..se

Definition in file process.c.