Home
last modified time | relevance | path

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

/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_cond.c638 ATF_TC(condattr);
639 ATF_TC_HEAD(condattr, tc) in ATF_TC_HEAD() argument
643 ATF_TC_BODY(condattr, tc) in ATF_TC_BODY() argument
645 pthread_condattr_t condattr; in ATF_TC_BODY() local
648 PTHREAD_REQUIRE(pthread_condattr_init(&condattr)); in ATF_TC_BODY()
649 PTHREAD_REQUIRE(pthread_condattr_setclock(&condattr, CLOCK_REALTIME)); in ATF_TC_BODY()
650 PTHREAD_REQUIRE(pthread_condattr_getclock(&condattr, &clockid)); in ATF_TC_BODY()
653 PTHREAD_REQUIRE(pthread_condattr_setclock(&condattr, CLOCK_MONOTONIC)); in ATF_TC_BODY()
654 PTHREAD_REQUIRE(pthread_condattr_getclock(&condattr, &clockid)); in ATF_TC_BODY()
673 ATF_TP_ADD_TC(tp, condattr); in ATF_TP_ADD_TCS()