|
Welcome to the EyeBot
Version 7 - RPi1
A Controller For Various Hardware IO
|
Defines multitasking functions. More...
#include "multitasking.h"#include <stdio.h>#include <stdlib.h>#include <signal.h>#include <unistd.h>#include <pthread.h>#include <semaphore.h>Functions | |
| int | MTInit () |
| int | MTSleep (int n) |
| TASK | MTSpawn (void *(*fct)(void *), int id) |
| int | MTKill (TASK t) |
| int | MTGetUID (TASK t) |
| int | SEMAInit (SEMA *sem, int val) |
| int | SEMALock (SEMA *sem) |
| int | SEMAUnlock (SEMA *sem) |
| int | SEMARelease (SEMA *sem) |
Defines multitasking functions.
1.8.10