Home
last modified time | relevance | path

Searched refs:condattr (Results 1 – 11 of 11) sorted by relevance

/glibc-2.36/sysdeps/pthread/
Dtst-cond23.c27 check (pthread_condattr_t *condattr, int pshared, clockid_t cl) in check() argument
30 if (pthread_condattr_getclock (condattr, &cl2) != 0) in check()
43 if (pthread_condattr_getpshared (condattr, &p) != 0) in check()
61 pthread_condattr_t condattr; in run_test() local
65 if (pthread_condattr_init (&condattr) != 0) in run_test()
71 if (check (&condattr, PTHREAD_PROCESS_PRIVATE, CLOCK_REALTIME)) in run_test()
74 if (pthread_condattr_setpshared (&condattr, PTHREAD_PROCESS_SHARED) != 0) in run_test()
80 if (check (&condattr, PTHREAD_PROCESS_SHARED, CLOCK_REALTIME)) in run_test()
83 if (pthread_condattr_setclock (&condattr, cl) != 0) in run_test()
89 if (check (&condattr, PTHREAD_PROCESS_SHARED, cl)) in run_test()
[all …]
Dtst-cond11.c37 pthread_condattr_t condattr; in run_test() local
44 TEST_COMPARE (pthread_condattr_init (&condattr), 0); in run_test()
45 TEST_COMPARE (pthread_condattr_setclock (&condattr, attr_clock), 0); in run_test()
48 TEST_COMPARE (pthread_condattr_getclock (&condattr, &attr_clock_read), 0); in run_test()
51 TEST_COMPARE (pthread_cond_init (&cond, &condattr), 0); in run_test()
52 TEST_COMPARE (pthread_condattr_destroy (&condattr), 0); in run_test()
/glibc-2.36/nptl/
Dnptl-printers.py376 def __init__(self, condattr): argument
387 self.condattr = condattr.cast(condattr_struct)['value']
392 self.values.append(('__size', condattr['__size']))
393 self.values.append(('__align', condattr['__align']))
418 clock_id = (self.condattr >> 1) & ((1 << COND_CLOCK_BITS) - 1)
425 if self.condattr & 1:
DMakefile348 test-condattr-printers test-cond-printers \
357 CFLAGS-test-condattr-printers.c := $(CFLAGS-printers-tests)
363 CPPFLAGS-test-condattr-printers.c := $(CFLAGS-printers-tests)
/glibc-2.36/htl/
DMakefile89 pt-condattr-init pt-condattr-destroy \
90 pt-condattr-getclock pt-condattr-getpshared \
91 pt-condattr-setclock pt-condattr-setpshared \
/glibc-2.36/nscd/
Dconnections.c2344 pthread_condattr_t condattr; in start_threads() local
2345 pthread_condattr_init (&condattr); in start_threads()
2358 && pthread_condattr_setclock (&condattr, CLOCK_MONOTONIC) == 0) in start_threads()
2383 if (pthread_cond_init (&dbs[i].prune_cond, &condattr) != 0) in start_threads()
2398 pthread_condattr_destroy (&condattr); in start_threads()
/glibc-2.36/ChangeLog.old/
DChangeLog.198441 * sysdeps/htl/pt-condattr-setpshared.c
19865 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19866 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19867 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19868 * sysdeps/htl/pt-condattr-init.c: Likewise.
19869 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19870 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
DChangeLog.20517 * sysdeps/htl/pt-condattr-init.c: Modified.
DChangeLog.2114081 * sysdeps/htl/pt-condattr-destroy.c: Modified.
14084 * sysdeps/htl/pt-condattr-init.c: Modified.
DChangeLog.nptl6770 instead of __clock, just from second bit of condattr's value.
DChangeLog.1812684 (CPPFLAGS-test-condattr-printers.c): Define.
13561 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13568 * nptl/test-condattr-printers.c: Likewise.
13569 * nptl/test-condattr-printers.py: Likewise.