Home
last modified time | relevance | path

Searched refs:mtx (Results 1 – 9 of 9) sorted by relevance

/glibc-2.36/sysdeps/mach/hurd/htl/
Dpt-mutex.h65 #define mtx_owned_p(mtx, pt, flags) \ argument
66 ((mtx)->__owner_id == (pt)->thread \
68 || (mtx)->__shpid == __getpid ()))
71 #define mtx_set_owner(mtx, pt, flags) \ argument
74 (mtx)->__owner_id = (pt)->thread; \
76 (mtx)->__shpid = __getpid (); \
/glibc-2.36/nptl/
Dtst-mutexpi10.c60 pthread_mutex_t mtx; in do_test() local
61 xpthread_mutex_init (&mtx, &attr); in do_test()
67 TEST_COMPARE (pthread_mutex_clocklock (&mtx, clocks[c].clk, &tmo), in do_test()
70 TEST_COMPARE (pthread_mutex_unlock (&mtx), 0); in do_test()
72 xpthread_mutex_destroy (&mtx); in do_test()
/glibc-2.36/stdlib/
Dtest-dlclose-exit-race-helper.c58 static pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; in second() local
61 xpthread_mutex_lock (&mtx); in second()
66 xpthread_mutex_unlock (&mtx); in second()
/glibc-2.36/sysdeps/pthread/
DMakefile52 tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
53 tst-cnd-timedwait tst-thrd-detach tst-mtx-basic tst-thrd-sleep \
54 tst-mtx-recursive tst-tss-basic tst-call-once tst-mtx-timedlock \
137 tst-mtx-timedlock-time64 \
/glibc-2.36/htl/
Dpt-internal.h316 extern int __pthread_mutex_checklocked (pthread_mutex_t *mtx);
/glibc-2.36/ChangeLog.old/
DChangeLog.2114847 * nptl/tst-mtx-basic.c: Move to...
14848 * sysdeps/pthread/tst-mtx-basic.c: ... here.
14849 * nptl/tst-mtx-recursive.c: Move to...
14850 * sysdeps/pthread/tst-mtx-recursive.c: ... here.
14851 * nptl/tst-mtx-timedlock.c: Move to...
14852 * sysdeps/pthread/tst-mtx-timedlock.c: ... here.
14853 * nptl/tst-mtx-trylock.c: Move to...
14854 * sysdeps/pthread/tst-mtx-trylock.c: ... here.
DChangeLog.1915061 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
15233 * nptl/tst-mtx-basic.c: Likewise.
15234 * nptl/tst-mtx-recursive.c: Likewise.
15235 * nptl/tst-mtx-timedlock.c: Likewise.
15236 * nptl/tst-mtx-trylock.c: Likewise.
DChangeLog.2211547 * sysdeps/pthread/tst-mtx-recursive.c: Modified.
DChangeLog.239721 * sysdeps/pthread/tst-mtx-timedlock-time64.c: New file.