Searched refs:sem_destroy (Results 1 – 25 of 29) sorted by relevance
12
67 #define sem_destroy(sem) if(*sem)((int)(CloseHandle(*sem))==TRUE) macro77 #define sem_destroy(sem) semaphore_destroy(mach_task_self(),*sem) macro
6 module asm ".weak sem_destroy"7 module asm ".equ sem_destroy, _sem_destroy"
39 sem_destroy(&s1); in main()
81 return sem_destroy(s); in my_sem_destroy()
129 return sem_destroy(s); in my_sem_destroy()
253 return sem_destroy(s); in my_sem_destroy()
249 sem_destroy(&s1); in main()
209 FIXME: can't figure out how to verify wrap of sem_destroy
87 sem_destroy(&s_sem); in main()
70 sem_destroy(p); in destroy_semaphore()
85 sem_destroy(p); in destroy_semaphore()
541 sem_destroy(&cpi->h_event_start_encoding[i]); in vp8cx_remove_encoder_threads()548 sem_destroy(&cpi->h_event_end_encoding); in vp8cx_remove_encoder_threads()549 sem_destroy(&cpi->h_event_end_lpf); in vp8cx_remove_encoder_threads()550 sem_destroy(&cpi->h_event_start_lpf); in vp8cx_remove_encoder_threads()
61 sem_destroy(&sem->sem); in SDL_DestroySemaphore()
100 sem_destroy(&sem->sem); in SDL_DestroySemaphore()
109 sem_destroy(sem->sem); in SDL_DestroySemaphore()
74 sem_destroy(&_et_lock); in fini_et_lock()
149 sem_destroy(&sem[0]); in TEST()150 sem_destroy(&sem[1]); in TEST()
336 DECL_TEMPLATE(darwin, sem_destroy); // 276
615 sem_destroy(&pbi->h_event_start_decoding[i]); in vp8_decoder_remove_threads()618 sem_destroy(&pbi->h_event_end_decoding); in vp8_decoder_remove_threads()
535 virtual ~CygwinSemaphore() { sem_destroy(&sem_); } in ~CygwinSemaphore()
608 virtual ~FreeBSDSemaphore() { sem_destroy(&sem_); } in ~FreeBSDSemaphore()
591 virtual ~SolarisSemaphore() { sem_destroy(&sem_); } in ~SolarisSemaphore()
662 virtual ~OpenBSDSemaphore() { sem_destroy(&sem_); } in ~OpenBSDSemaphore()
655 Syscall param sem_destroy(sem) contains uninitialised byte(s)658 Syscall param sem_destroy(sem) points to unaddressable byte(s)