embedded system library for e-puck  1.0.1
A redesigned API library for the e-puck robot platform
 All Data Structures Files Functions Variables Enumerations Enumerator Modules Pages
Files
Process

providing multitasking ability More...

Files

file  el_process.h
 

Detailed Description

providing multitasking ability

Introduction

A Process runs concurrently with other process.

Usage

This library has multi-tasking capability — up to 7 functions with time delays can run concurrently when each of these functions is executed within a 'process'.

Use el_launch_process to start a process. In a process, use el_process_wait to wait for a certain amount of time. Within this wait period, other processes are being executed. More detailed usage can be found in Examples and the usage section of other modules (e.g. Trigger and Infrared Receiver).

This approach of multitasking is usually called "Cooperative Multitasking". It is useful when several timing based programs need to run concurrently.