#include <stdio.h>#include <stdlib.h>#include <pthread.h>#include <time.h>#include <sys/time.h>#include "semaphore.h"Functions | |
| void * | sema_create (int val) |
| void | sema_destroy (void *v) |
| int | sema_p (void *v, double time) |
| void | sema_v (void *v) |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
1.4.5