VSF Documented
|
#include "shell/sys/linux/vsf_linux_cfg.h"
#include "kernel/vsf_kernel.h"
#include "./simple_libc/time.h"
Go to the source code of this file.
Data Structures | |
struct | vsf_linux_semaphore_vplt_t |
Macros | |
#define | sem_init VSF_LINUX_WRAPPER(sem_init) |
#define | sem_destroy VSF_LINUX_WRAPPER(sem_destroy) |
#define | sem_wait VSF_LINUX_WRAPPER(sem_wait) |
#define | sem_trywait VSF_LINUX_WRAPPER(sem_trywait) |
#define | sem_timedwait VSF_LINUX_WRAPPER(sem_timedwait) |
#define | sem_post VSF_LINUX_WRAPPER(sem_post) |
#define | sem_getvalue VSF_LINUX_WRAPPER(sem_getvalue) |
#define | SEM_FAILED ((sem_t *)NULL) |
Typedefs | |
typedef vsf_sem_t | sem_t |
typedef struct vsf_linux_semaphore_vplt_t | vsf_linux_semaphore_vplt_t |
Functions | |
int | sem_init (sem_t *sem, int pshared, unsigned int value) |
int | sem_destroy (sem_t *sem) |
int | sem_wait (sem_t *sem) |
int | sem_trywait (sem_t *sem) |
int | sem_timedwait (sem_t *sem, const struct timespec *abs_timeout) |
int | sem_post (sem_t *sem) |
int | sem_getvalue (sem_t *sem, int *value) |
sem_t * | sem_open (const char *name, int oflag, mode_t mode, unsigned int value) |
int | sem_close (sem_t *sem) |
int | sem_unlink (const char *name) |
Variables | |
__VSF_VPLT_DECORATOR__ vsf_linux_semaphore_vplt_t | vsf_linux_semaphore_vplt |
#define sem_init VSF_LINUX_WRAPPER(sem_init) |
#define sem_destroy VSF_LINUX_WRAPPER(sem_destroy) |
#define sem_wait VSF_LINUX_WRAPPER(sem_wait) |
#define sem_trywait VSF_LINUX_WRAPPER(sem_trywait) |
#define sem_timedwait VSF_LINUX_WRAPPER(sem_timedwait) |
#define sem_post VSF_LINUX_WRAPPER(sem_post) |
#define sem_getvalue VSF_LINUX_WRAPPER(sem_getvalue) |
typedef struct vsf_linux_semaphore_vplt_t vsf_linux_semaphore_vplt_t |
int sem_init | ( | sem_t * | sem, |
int | pshared, | ||
unsigned int | value | ||
) |
int sem_destroy | ( | sem_t * | sem | ) |
int sem_wait | ( | sem_t * | sem | ) |
int sem_trywait | ( | sem_t * | sem | ) |
int sem_post | ( | sem_t * | sem | ) |
int sem_getvalue | ( | sem_t * | sem, |
int * | value | ||
) |
int sem_close | ( | sem_t * | sem | ) |
int sem_unlink | ( | const char * | name | ) |
|
extern |