Home
last modified time | relevance | path

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

/bionic/tests/headers/posix/
Dthreads_h.c44 TYPE(mtx_t); in threads_h()
60 FUNCTION(cnd_timedwait, int (*f)(cnd_t*, mtx_t*, const struct timespec*)); in threads_h()
61 FUNCTION(cnd_wait, int (*f)(cnd_t*, mtx_t*)); in threads_h()
63 FUNCTION(mtx_destroy, void (*f)(mtx_t*)); in threads_h()
64 FUNCTION(mtx_init, int (*f)(mtx_t*, int)); in threads_h()
65 FUNCTION(mtx_lock, int (*f)(mtx_t*)); in threads_h()
66 FUNCTION(mtx_timedlock, int (*f)(mtx_t*, const struct timespec*)); in threads_h()
67 FUNCTION(mtx_trylock, int (*f)(mtx_t*)); in threads_h()
68 FUNCTION(mtx_unlock, int (*f)(mtx_t*)); in threads_h()
/bionic/libc/include/
Dthreads.h51 typedef pthread_mutex_t mtx_t; typedef
112 int cnd_timedwait(cnd_t* __cond, mtx_t* __mutex, const struct timespec* __timeout)
118 int cnd_wait(cnd_t* __cond, mtx_t* __mutex) __INTRODUCED_IN(30);
125 void mtx_destroy(mtx_t* __mutex) __INTRODUCED_IN(30);
130 int mtx_init(mtx_t* __mutex, int __type) __INTRODUCED_IN(30);
135 int mtx_lock(mtx_t* __mutex) __INTRODUCED_IN(30);
140 int mtx_timedlock(mtx_t* __mutex, const struct timespec* __timeout) __INTRODUCED_IN(30);
145 int mtx_trylock(mtx_t* __mutex) __INTRODUCED_IN(30);
150 int mtx_unlock(mtx_t* __mutex) __INTRODUCED_IN(30);
/bionic/libc/include/bits/
Dthreads_inlines.h75 mtx_t* __mtx, in cnd_timedwait()
80 __BIONIC_THREADS_INLINE int cnd_wait(cnd_t* __cnd, mtx_t* __mtx) { in cnd_wait()
86 __BIONIC_THREADS_INLINE void mtx_destroy(mtx_t* __mtx) { in mtx_destroy()
90 __BIONIC_THREADS_INLINE int mtx_init(mtx_t* __mtx, int __type) { in mtx_init()
102 __BIONIC_THREADS_INLINE int mtx_lock(mtx_t* __mtx) { in mtx_lock()
107 __BIONIC_THREADS_INLINE int mtx_timedlock(mtx_t* __mtx, in mtx_timedlock()
113 __BIONIC_THREADS_INLINE int mtx_trylock(mtx_t* __mtx) { in mtx_trylock()
117 __BIONIC_THREADS_INLINE int mtx_unlock(mtx_t* __mtx) { in mtx_unlock()
/bionic/tests/
Dthreads_test.cpp84 mtx_t m; in TEST()
130 mtx_t m; in TEST()
180 mtx_t m; in TEST()
196 mtx_t m; in TEST()
226 mtx_t m; in TEST()
240 mtx_t m; in TEST()
250 mtx_t m; in TEST()
265 mtx_t m; in TEST()
281 mtx_t m; in TEST()
302 mtx_t m; in TEST()