|
OctopOS
0.6.0
Data communication bus for SPACE HAUC
|
#include "../include/utility.h"Functions | |
| intptr_t * | connect_shm () |
| int | semsetall (int sem_group, int number_in_group, int value) |
| int | p (int sem_group, int donut_type) |
| int | v (int sem_group, int donut_type) |
| intptr_t* connect_shm | ( | ) |
function for connecting shared memmory to address space.
| int p | ( | int | sem, |
| int | counter | ||
| ) |
Decraments a semaphore.
| sem | The semaphore to access |
| counter | the counter to decrament |
| int semsetall | ( | int | sem_group, |
| int | number_in_group, | ||
| int | value | ||
| ) |
Initializes all counters in a semaphore.
| sem_group | The semaphore to initializes. |
| number_in_group | Number of counters in the group. |
| value | The initial value to set. |
| int v | ( | int | sem, |
| int | counter | ||
| ) |
Incraments a semaphore.
| sem | The semaphore to access |
| counter | the counter to incraments |
1.8.15