/third_party/mesa3d/src/c11/ |
D | threads.h | 115 } mtx_t; /* Mock of CRITICAL_SECTION */ typedef 128 typedef pthread_mutex_t mtx_t; typedef 167 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict __mtx, 169 int cnd_wait(cnd_t *, mtx_t *__mtx); 170 void mtx_destroy(mtx_t *__mtx); 171 int mtx_init(mtx_t *__mtx, int); 172 int mtx_lock(mtx_t *__mtx); 173 int mtx_timedlock(mtx_t *__restrict __mtx, 175 int mtx_trylock(mtx_t *__mtx); 176 int mtx_unlock(mtx_t *__mtx);
|
/third_party/glfw/deps/ |
D | tinycthread.h | 187 } mtx_t; typedef 189 typedef pthread_mutex_t mtx_t; typedef 204 int mtx_init(mtx_t *mtx, int type); 209 void mtx_destroy(mtx_t *mtx); 219 int mtx_lock(mtx_t *mtx); 223 int mtx_timedlock(mtx_t *mtx, const struct timespec *ts); 233 int mtx_trylock(mtx_t *mtx); 240 int mtx_unlock(mtx_t *mtx); 295 int cnd_wait(cnd_t *cond, mtx_t *mtx); 309 int cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *ts);
|
D | tinycthread.c | 56 int mtx_init(mtx_t *mtx, int type) in mtx_init() 77 void mtx_destroy(mtx_t *mtx) in mtx_destroy() 86 int mtx_lock(mtx_t *mtx) in mtx_lock() 101 int mtx_timedlock(mtx_t *mtx, const struct timespec *ts) in mtx_timedlock() 109 int mtx_trylock(mtx_t *mtx) in mtx_trylock() 124 int mtx_unlock(mtx_t *mtx) in mtx_unlock() 237 static int _cnd_timedwait_win32(cnd_t *cond, mtx_t *mtx, DWORD timeout) in _cnd_timedwait_win32() 285 int cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait() 294 int cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *ts) in cnd_timedwait()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | threads.h | 60 int mtx_init(mtx_t *, int); 61 void mtx_destroy(mtx_t *); 63 int mtx_lock(mtx_t *); 64 int mtx_timedlock(mtx_t *__restrict, const struct timespec *__restrict); 65 int mtx_trylock(mtx_t *); 66 int mtx_unlock(mtx_t *); 74 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict, const struct timespec *__restrict); 75 int cnd_wait(cnd_t *, mtx_t *);
|
/third_party/musl/include/ |
D | threads.h | 60 int mtx_init(mtx_t *, int); 61 void mtx_destroy(mtx_t *); 63 int mtx_lock(mtx_t *); 64 int mtx_timedlock(mtx_t *__restrict, const struct timespec *__restrict); 65 int mtx_trylock(mtx_t *); 66 int mtx_unlock(mtx_t *); 74 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict, const struct timespec *__restrict); 75 int cnd_wait(cnd_t *, mtx_t *);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | threads.h | 60 int mtx_init(mtx_t *, int); 61 void mtx_destroy(mtx_t *); 63 int mtx_lock(mtx_t *); 64 int mtx_timedlock(mtx_t *__restrict, const struct timespec *__restrict); 65 int mtx_trylock(mtx_t *); 66 int mtx_unlock(mtx_t *); 74 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict, const struct timespec *__restrict); 75 int cnd_wait(cnd_t *, mtx_t *);
|
/third_party/mesa3d/src/c11/impl/ |
D | threads_posix.c | 115 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait() 131 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait() 142 mtx_destroy(mtx_t *mtx) in mtx_destroy() 176 mtx_init(mtx_t *mtx, int type) in mtx_init() 200 mtx_lock(mtx_t *mtx) in mtx_lock() 208 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) in mtx_timedlock() 237 mtx_trylock(mtx_t *mtx) in mtx_trylock() 245 mtx_unlock(mtx_t *mtx) in mtx_unlock()
|
D | threads_win32.c | 71 static_assert(sizeof(mtx_t) == sizeof(CRITICAL_SECTION), "The size of mtx_t must equal to CRITICAL_… 221 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait() 234 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait() 246 mtx_destroy(mtx_t *mtx) in mtx_destroy() 254 mtx_init(mtx_t *mtx, int type) in mtx_init() 268 mtx_lock(mtx_t *mtx) in mtx_lock() 277 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) in mtx_timedlock() 292 mtx_trylock(mtx_t *mtx) in mtx_trylock() 300 mtx_unlock(mtx_t *mtx) in mtx_unlock()
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_winsys.h | 49 mtx_t mutex; 85 mtx_t bo_handles_mutex; 86 mtx_t bo_fence_lock; 99 mtx_t hyperz_owner_mutex; 101 mtx_t cmask_owner_mutex;
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_screen.h | 60 mtx_t rast_mutex; 63 mtx_t cs_mutex; 68 mtx_t late_mutex; 71 mtx_t ctx_mutex;
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
D | mtx_timedlock.c | 23 extern int __mtx_timedlock_time64(mtx_t *__restrict, const struct timespec *__restrict); 35 mtx_t mutex; in mtx_timedlock_0100() 59 mtx_t mutex; in mtx_timedlock_0200() 94 mtx_t mutex; in mtx_timedlock_time64_0100()
|
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/ |
D | rbug_context.h | 45 mtx_t call_mutex; 61 mtx_t draw_mutex; 77 mtx_t list_mutex;
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_instance.h | 48 mtx_t mutex; 57 mtx_t roundtrip_mutex; 74 mtx_t mutex; 79 mtx_t mutex;
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
D | thread_cnd_test.cpp | 9 mtx_t threadMtx; 26 WaitThread(mtx_t* threadMtx, cnd_t* threadCnd, int* threadIndex) in WaitThread() 60 mtx_t* mtx_;
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_device.h | 227 mtx_t construct_mtx; 239 mtx_t pipeline_mutex; 245 mtx_t autotune_mutex; 261 mtx_t mutex; 267 mtx_t bo_mutex;
|
/third_party/musl/src/thread/ |
D | mtx_init.c | 4 int mtx_init(mtx_t *m, int type) in mtx_init() 6 *m = (mtx_t){ in mtx_init()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_screen.h | 80 mtx_t tex_mutex; 82 mtx_t swc_mutex; /* Used for buffer uploads */
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_screen.h | 70 mtx_t lock; 76 mtx_t bo_handles_mutex;
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_screen.h | 76 mtx_t bo_table_lock; 77 mtx_t bo_cache_lock;
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_instance.h | 90 mtx_t callbacks_mutex; 100 mtx_t callbacks_mutex;
|
/third_party/mesa3d/src/gallium/frontends/hgl/ |
D | hgl_context.h | 53 mtx_t mutex; 74 mtx_t fbMutex;
|
/third_party/mesa3d/src/gallium/auxiliary/os/ |
D | os_thread.h | 49 __pipe_mutex_assert_locked(mtx_t *mutex) in __pipe_mutex_assert_locked() 71 mtx_t mutex;
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_screen.h | 84 mtx_t lock; 91 mtx_t bo_handles_mutex;
|
/third_party/mesa3d/src/drm-shim/ |
D | drm_shim.h | 47 mtx_t mem_lock; 73 mtx_t handle_lock;
|
/third_party/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.h | 96 mtx_t mutex; 101 mtx_t bo_handles_mutex;
|