Searched refs:sem_handle_value (Results 1 – 1 of 1) sorted by relevance
237 HANDLE sem_handle_value; in ithread_sem_init() local242 sem_handle_value = CreateSemaphore(NULL, /* Security Attribute*/ in ithread_sem_init()246 *sem_handle = sem_handle_value; in ithread_sem_init()253 HANDLE sem_handle_value; in ithread_sem_post() local258 sem_handle_value = *sem_handle; in ithread_sem_post()261 if(ReleaseSemaphore(sem_handle_value, SEM_INCREMENT_COUNT, NULL)) in ithread_sem_post()271 HANDLE sem_handle_value; in ithread_sem_wait() local276 sem_handle_value = *sem_handle; in ithread_sem_wait()279 result = WaitForSingleObject(sem_handle_value, INFINITE); in ithread_sem_wait()295 HANDLE sem_handle_value; in ithread_sem_destroy() local[all …]