Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapijoystick.c84 static SDL_SpinLock SDL_HIDAPI_spinlock; variable
871 if (SDL_AtomicTryLock(&SDL_HIDAPI_spinlock)) { in HIDAPI_IsDevicePresent()
873 SDL_AtomicUnlock(&SDL_HIDAPI_spinlock); in HIDAPI_IsDevicePresent()
906 if (SDL_AtomicTryLock(&SDL_HIDAPI_spinlock)) { in HIDAPI_JoystickDetect()
913 SDL_AtomicUnlock(&SDL_HIDAPI_spinlock); in HIDAPI_JoystickDetect()
931 if (SDL_AtomicTryLock(&SDL_HIDAPI_spinlock)) { in HIDAPI_UpdateDevices()
942 SDL_AtomicUnlock(&SDL_HIDAPI_spinlock); in HIDAPI_UpdateDevices()

Completed in 7 milliseconds