Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/timer/
A DSDL_timer.c55 SDL_mutex *timermap_lock; member
213 data->timermap_lock = SDL_CreateMutex(); in SDL_TimerInit()
214 if (!data->timermap_lock) { in SDL_TimerInit()
220 SDL_DestroyMutex(data->timermap_lock); in SDL_TimerInit()
273 SDL_DestroyMutex(data->timermap_lock); in SDL_TimerQuit()
274 data->timermap_lock = NULL; in SDL_TimerQuit()
324 SDL_LockMutex(data->timermap_lock); in SDL_AddTimer()
327 SDL_UnlockMutex(data->timermap_lock); in SDL_AddTimer()
349 SDL_LockMutex(data->timermap_lock); in SDL_RemoveTimer()
361 SDL_UnlockMutex(data->timermap_lock); in SDL_RemoveTimer()

Completed in 4 milliseconds