Home
last modified time | relevance | path

Searched refs:SDL_mutex (Results 1 – 25 of 56) sorted by relevance

123

/AliOS-Things-master/components/SDL2/src/thread/windows/
A DSDL_sysmutex.c32 struct SDL_mutex struct
38 SDL_mutex * argument
41 SDL_mutex *mutex; in SDL_CreateMutex()
44 mutex = (SDL_mutex *) SDL_malloc(sizeof(*mutex)); in SDL_CreateMutex()
61 SDL_DestroyMutex(SDL_mutex * mutex) in SDL_DestroyMutex()
71 SDL_LockMutex(SDL_mutex * mutex) in SDL_LockMutex()
83 SDL_TryLockMutex(SDL_mutex * mutex) in SDL_TryLockMutex()
98 SDL_UnlockMutex(SDL_mutex * mutex) in SDL_UnlockMutex()
/AliOS-Things-master/components/SDL2/include/
A DSDL_mutex.h58 struct SDL_mutex;
59 typedef struct SDL_mutex SDL_mutex; typedef
64 extern DECLSPEC SDL_mutex *SDLCALL SDL_CreateMutex(void);
72 extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex);
79 extern DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex * mutex);
90 extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex);
95 extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex * mutex);
227 extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond * cond, SDL_mutex * mutex);
238 SDL_mutex * mutex, Uint32 ms);
/AliOS-Things-master/components/SDL2/src/thread/stdcpp/
A DSDL_sysmutex.cpp36 SDL_mutex *
41 SDL_mutex * mutex = new SDL_mutex; in SDL_CreateMutex()
55 SDL_DestroyMutex(SDL_mutex * mutex) in SDL_DestroyMutex()
65 SDL_mutexP(SDL_mutex * mutex) in SDL_mutexP()
83 SDL_TryLockMutex(SDL_mutex * mutex) in SDL_TryLockMutex()
99 SDL_mutexV(SDL_mutex * mutex) in SDL_mutexV()
A DSDL_syscond.cpp118 SDL_CondWaitTimeout(SDL_cond * cond, SDL_mutex * mutex, Uint32 ms) in SDL_CondWaitTimeout()
159 SDL_CondWait(SDL_cond * cond, SDL_mutex * mutex) in SDL_CondWait()
A DSDL_sysmutex_c.h25 struct SDL_mutex struct
/AliOS-Things-master/components/SDL2/src/thread/generic/
A DSDL_sysmutex.c29 struct SDL_mutex struct
37 SDL_mutex * argument
40 SDL_mutex *mutex; in SDL_CreateMutex()
43 mutex = (SDL_mutex *) SDL_malloc(sizeof(*mutex)); in SDL_CreateMutex()
61 SDL_DestroyMutex(SDL_mutex * mutex) in SDL_DestroyMutex()
73 SDL_LockMutex(SDL_mutex * mutex) in SDL_LockMutex()
103 SDL_TryLockMutex(SDL_mutex * mutex) in SDL_TryLockMutex()
136 SDL_mutexV(SDL_mutex * mutex) in SDL_mutexV()
A DSDL_syscond.c33 SDL_mutex *lock;
160 SDL_CondWaitTimeout(SDL_cond * cond, SDL_mutex * mutex, Uint32 ms) in SDL_CondWaitTimeout()
215 SDL_CondWait(SDL_cond * cond, SDL_mutex * mutex) in SDL_CondWait()
A DSDL_syssem.c80 SDL_mutex *count_lock;
/AliOS-Things-master/components/SDL2/src/thread/psp/
A DSDL_sysmutex.c31 struct SDL_mutex struct
39 SDL_mutex * argument
42 SDL_mutex *mutex; in SDL_CreateMutex()
45 mutex = (SDL_mutex *) SDL_malloc(sizeof(*mutex)); in SDL_CreateMutex()
63 SDL_DestroyMutex(SDL_mutex * mutex) in SDL_DestroyMutex()
75 SDL_mutexP(SDL_mutex * mutex) in SDL_mutexP()
105 SDL_mutexV(SDL_mutex * mutex) in SDL_mutexV()
A DSDL_syscond.c35 SDL_mutex *lock;
162 SDL_CondWaitTimeout(SDL_cond * cond, SDL_mutex * mutex, Uint32 ms) in SDL_CondWaitTimeout()
217 SDL_CondWait(SDL_cond * cond, SDL_mutex * mutex) in SDL_CondWait()
/AliOS-Things-master/components/SDL2/src/thread/pthread/
A DSDL_sysmutex.c33 struct SDL_mutex struct
42 SDL_mutex * argument
45 SDL_mutex *mutex; in SDL_CreateMutex()
49 mutex = (SDL_mutex *) SDL_calloc(1, sizeof(*mutex)); in SDL_CreateMutex()
71 SDL_DestroyMutex(SDL_mutex * mutex) in SDL_DestroyMutex()
81 SDL_LockMutex(SDL_mutex * mutex) in SDL_LockMutex()
116 SDL_TryLockMutex(SDL_mutex * mutex) in SDL_TryLockMutex()
162 SDL_UnlockMutex(SDL_mutex * mutex) in SDL_UnlockMutex()
A DSDL_syscond.c99 SDL_CondWaitTimeout(SDL_cond * cond, SDL_mutex * mutex, Uint32 ms) in SDL_CondWaitTimeout()
148 SDL_CondWait(SDL_cond * cond, SDL_mutex * mutex) in SDL_CondWait()
A DSDL_sysmutex_c.h26 struct SDL_mutex struct
/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_sysaudio.h120 SDL_mutex *detectionLock;
159 SDL_mutex *mixer_lock;
/AliOS-Things-master/components/SDL2/src/audio/nacl/
A DSDL_naclaudio.h37 SDL_mutex* mutex;
/AliOS-Things-master/components/SDL2/src/video/android/
A DSDL_androidvideo.h46 extern SDL_mutex *Android_ActivityMutex;
/AliOS-Things-master/components/SDL2/src/haptic/windows/
A DSDL_windowshaptic_c.h44 SDL_mutex *mutex;
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_windowsjoystick.c65 static SDL_mutex *s_mutexJoyStickEnum = NULL;
92 SDL_WaitForDeviceNotification(SDL_DeviceNotificationData *data, SDL_mutex *mutex) in SDL_WaitForDeviceNotification()
195 SDL_WaitForDeviceNotification(SDL_DeviceNotificationData *data, SDL_mutex *mutex) in SDL_WaitForDeviceNotification()
/AliOS-Things-master/components/SDL2/src/video/winrt/
A DSDL_winrtevents.cpp77 static SDL_mutex * _mutex = nullptr;
/AliOS-Things-master/components/SDL2/test/
A Dtestlock.c23 static SDL_mutex *mutex = NULL;
/AliOS-Things-master/components/SDL2/src/video/raspberry/
A DSDL_rpivideo.h54 SDL_mutex *vsync_cond_mutex;
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoavideo.h110 SDL_mutex *swaplock;
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapijoystick_c.h73 SDL_mutex *dev_lock;
/AliOS-Things-master/components/SDL2/src/thread/
A DSDL_thread.c119 static SDL_mutex *SDL_generic_TLS_mutex;
135 SDL_mutex *mutex = SDL_CreateMutex(); in SDL_Generic_GetTLSData()
/AliOS-Things-master/components/SDL2/src/atomic/
A DSDL_spinlock.c59 static SDL_mutex *_spinlock_mutex; in SDL_AtomicTryLock()

Completed in 22 milliseconds

123