Home
last modified time | relevance | path

Searched refs:sem_t (Results 1 – 4 of 4) sorted by relevance

/trunk/main/sal/osl/unx/
H A Dsemaphor.c49 Semaphore= malloc(sizeof(sem_t)); in osl_createSemaphore()
60 ret= sem_init((sem_t*)Semaphore, 0, initialCount); in osl_createSemaphore()
83 sem_destroy((sem_t*)Semaphore); in osl_destroySemaphore()
97 return (sem_wait((sem_t*)Semaphore) == 0); in osl_acquireSemaphore()
111 return (sem_trywait((sem_t*)Semaphore) == 0); in osl_tryToAcquireSemaphore()
126 return (sem_post((sem_t*)Semaphore) == 0); in osl_releaseSemaphore()
H A Dsystem.h467 } sem_t; typedef
468 extern int sem_init(sem_t* sem, int pshared, unsigned int value);
469 extern int sem_destroy(sem_t* sem);
470 extern int sem_wait(sem_t* sem);
471 extern int sem_trywait(sem_t* sem);
472 extern int sem_post(sem_t* sem);
H A Dsystem.c482 int sem_init(sem_t* sem, int pshared, unsigned int value) in sem_init()
491 int sem_destroy(sem_t* sem) in sem_destroy()
499 int sem_wait(sem_t* sem) in sem_wait()
514 int sem_trywait(sem_t* sem) in sem_trywait()
535 int sem_post(sem_t* sem) in sem_post()
/trunk/main/sal/osl/os2/
H A Dsystem.h486 } sem_t; typedef
487 extern int sem_init(sem_t* sem, int pshared, unsigned int value);
488 extern int sem_destroy(sem_t* sem);
489 extern int sem_wait(sem_t* sem);
490 extern int sem_trywait(sem_t* sem);
491 extern int sem_post(sem_t* sem);

Completed in 27 milliseconds