|
nckernel
0.1
|
#include <sys/types.h>#include <stdint.h>#include <errno.h>#include <stdio.h>#include <stddef.h>#include <time.h>#include <semaphore.h>#include <assert.h>#include <stdlib.h>#include <pthread.h>#include <interrupt.h>#include <list.h>#include <object.h>#include <thread.h>#include <semaphore0.h>
Go to the source code of this file.
Data Structures | |
| struct | sem |
| 세마포어 객체 More... | |
| struct | sem_list_info |
Functions | |
| void | sem_clear (struct thread *tcb) |
| 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... | |
1.8.4