nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
semaphore.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  timespec
 

Typedefs

typedef void * sem_t
 세마포어 객체 More...
 

Functions

int sem_destroy (sem_t *sem)
 세마포어 객체를 소멸 시킨다. More...
 
int sem_getvalue (sem_t *sem, int *val)
 지정된 세마포어 객체에서 조건 값을 가져온다. More...
 
int sem_init (sem_t *sem, int pshared, unsigned int value)
 세마포어 객체를 초기화 한다. More...
 
int sem_post (sem_t *sem)
 세마포어 증가 연산을 수행한다. More...
 
int sem_timedwait (sem_t *sem, const struct timespec *abs_timeout)
 지정된 시간 안에 세마포어 감소 연산을 시도해 본다 More...
 
int sem_trywait (sem_t *sem)
 세마포어 감소 연산을 시도해 본다. More...
 
int sem_wait (sem_t *sem)
 세마포어 감소 연산을 수행한다. More...