Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapi_rumble.c78 SDL_LockMutex(request->device->dev_lock); in SDL_HIDAPI_RumbleThread()
82 SDL_UnlockMutex(request->device->dev_lock); in SDL_HIDAPI_RumbleThread()
A DSDL_hidapijoystick_c.h73 SDL_mutex *dev_lock; member
A DSDL_hidapijoystick.c718 device->dev_lock = SDL_CreateMutex(); in HIDAPI_AddDevice()
791 SDL_DestroyMutex(device->dev_lock); in HIDAPI_DelDevice()
935 if (SDL_TryLockMutex(device->dev_lock) == 0) { in HIDAPI_UpdateDevices()
937 SDL_UnlockMutex(device->dev_lock); in HIDAPI_UpdateDevices()

Completed in 6 milliseconds