Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/thread/generic/
A DSDL_syscond.c36 SDL_sem *wait_sem; member
49 cond->wait_sem = SDL_CreateSemaphore(0); in SDL_CreateCond()
52 if (!cond->lock || !cond->wait_sem || !cond->wait_done) { in SDL_CreateCond()
67 if (cond->wait_sem) { in SDL_DestroyCond()
68 SDL_DestroySemaphore(cond->wait_sem); in SDL_DestroyCond()
94 SDL_SemPost(cond->wait_sem); in SDL_CondSignal()
122 SDL_SemPost(cond->wait_sem); in SDL_CondBroadcast()
181 retval = SDL_SemWait(cond->wait_sem); in SDL_CondWaitTimeout()
183 retval = SDL_SemWaitTimeout(cond->wait_sem, ms); in SDL_CondWaitTimeout()
196 SDL_SemWait(cond->wait_sem); in SDL_CondWaitTimeout()
/AliOS-Things-master/components/SDL2/src/thread/psp/
A DSDL_syscond.c38 SDL_sem *wait_sem; member
51 cond->wait_sem = SDL_CreateSemaphore(0); in SDL_CreateCond()
54 if (!cond->lock || !cond->wait_sem || !cond->wait_done) { in SDL_CreateCond()
69 if (cond->wait_sem) { in SDL_DestroyCond()
70 SDL_DestroySemaphore(cond->wait_sem); in SDL_DestroyCond()
96 SDL_SemPost(cond->wait_sem); in SDL_CondSignal()
124 SDL_SemPost(cond->wait_sem); in SDL_CondBroadcast()
183 retval = SDL_SemWait(cond->wait_sem); in SDL_CondWaitTimeout()
185 retval = SDL_SemWaitTimeout(cond->wait_sem, ms); in SDL_CondWaitTimeout()
198 SDL_SemWait(cond->wait_sem); in SDL_CondWaitTimeout()
/AliOS-Things-master/components/posix/src/
A Dpthread_cond.c28 ret = aos_sem_new((aos_sem_t*)(&(cond->wait_sem)), 0); in pthread_cond_init()
37 aos_sem_free((aos_sem_t*)(&(cond->wait_sem))); in pthread_cond_init()
58 aos_sem_free((aos_sem_t*)(&(cond->wait_sem))); in pthread_cond_destroy()
85 aos_sem_signal((aos_sem_t*)(&(cond->wait_sem))); in pthread_cond_broadcast()
115 aos_sem_signal((aos_sem_t*)(&(cond->wait_sem))); in pthread_cond_signal()
148 ret = aos_sem_wait((aos_sem_t*)(&(cond->wait_sem)), ms); in pthread_cond_timedwait_ms()
164 aos_sem_wait((aos_sem_t*)(&(cond->wait_sem)), AOS_NO_WAIT); in pthread_cond_timedwait_ms()
/AliOS-Things-master/components/posix/include/
A Dpthread.h94 void *wait_sem; member

Completed in 13 milliseconds