Home
last modified time | relevance | path

Searched refs:mtx_t (Results 1 - 25 of 146) sorted by relevance

123456

/third_party/musl/porting/uniproton/kernel/include/
H A Dthreads.h60 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/liteos_m/kernel/include/
H A Dthreads.h60 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/
H A Dthreads.h60 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/glfw/deps/
H A Dtinycthread.h189 } mtx_t; typedef
191 typedef pthread_mutex_t mtx_t; typedef
206 int mtx_init(mtx_t *mtx, int type);
211 void mtx_destroy(mtx_t *mtx);
221 int mtx_lock(mtx_t *mtx);
225 int mtx_timedlock(mtx_t *mtx, const struct timespec *ts);
235 int mtx_trylock(mtx_t *mtx);
242 int mtx_unlock(mtx_t *mtx);
297 int cnd_wait(cnd_t *cond, mtx_t *mtx);
311 int cnd_timedwait(cnd_t *cond, mtx_t *mt
[all...]
H A Dtinycthread.c56 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/mesa3d/src/c11/
H A Dthreads.h115 } 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 *__mt
[all...]
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_winsys.h49 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/
H A Dlp_screen.h60 mtx_t rast_mutex;
63 mtx_t cs_mutex;
68 mtx_t late_mutex;
71 mtx_t ctx_mutex;
/third_party/mesa3d/src/c11/impl/
H A Dthreads_posix.c115 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()
H A Dthreads_win32.c71 static_assert(sizeof(mtx_t) == sizeof(CRITICAL_SECTION), "The size of mtx_t must equal to CRITICAL_SECTION");
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 *mt
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dmtx_timedlock.c23 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/
H A Drbug_context.h45 mtx_t call_mutex;
61 mtx_t draw_mutex;
77 mtx_t list_mutex;
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_instance.h48 mtx_t mutex;
57 mtx_t roundtrip_mutex;
74 mtx_t mutex;
79 mtx_t mutex;
/third_party/musl/src/thread/
H A Dmtx_init.c4 int mtx_init(mtx_t *m, int type) in mtx_init()
6 *m = (mtx_t){ in mtx_init()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
H A Dthread_cnd_test.cpp9 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/
H A Dtu_device.h227 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/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_screen.h70 mtx_t lock;
76 mtx_t bo_handles_mutex;
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_screen.h80 mtx_t tex_mutex;
82 mtx_t swc_mutex; /* Used for buffer uploads */
/third_party/mesa3d/src/gallium/frontends/hgl/
H A Dhgl_context.h53 mtx_t mutex;
74 mtx_t fbMutex;
/third_party/mesa3d/src/gallium/auxiliary/os/
H A Dos_thread.h49 __pipe_mutex_assert_locked(mtx_t *mutex) in __pipe_mutex_assert_locked()
53 * mtx_t doesn't support those in __pipe_mutex_assert_locked()
71 mtx_t mutex;
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_instance.h90 mtx_t callbacks_mutex;
100 mtx_t callbacks_mutex;
/third_party/mesa3d/src/drm-shim/
H A Ddrm_shim.h47 mtx_t mem_lock;
73 mtx_t handle_lock;
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_screen.h84 mtx_t lock;
91 mtx_t bo_handles_mutex;
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_screen.h76 mtx_t bo_table_lock;
77 mtx_t bo_cache_lock;
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
H A Dvirgl_drm_winsys.h96 mtx_t mutex;
101 mtx_t bo_handles_mutex;

Completed in 10 milliseconds

123456