Home
last modified time | relevance | path

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

/netbsd/src/tests/lib/libpthread/
Dt_condwait.c54 clockid_t clck; in run() local
61 clck = *(clockid_t *)param; in run()
63 PTHREAD_REQUIRE(pthread_condattr_setclock(&attr, clck)); in run()
68 ATF_REQUIRE_EQ(clock_gettime(clck, &ts), 0); in run()
80 ATF_REQUIRE_EQ(clock_gettime(clck, &te), 0); in run()
88 if (clck == CLOCK_MONOTONIC) in run()
104 cond_wait(clockid_t clck, const char *msg) { in cond_wait() argument
109 ATF_REQUIRE_EQ(pthread_create(&child, NULL, run, &clck), 0); in cond_wait()
/netbsd/src/lib/libpthread/
Dpthread_cond.c340 pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clck) in pthread_condattr_setclock() argument
346 switch (clck) { in pthread_condattr_setclock()
353 *(clockid_t *)attr->ptca_private = clck; in pthread_condattr_setclock()
/netbsd/src/games/atc/
Dextern.c62 int clck, safe_planes, test_mode; variable
Dextern.h52 extern int clck, safe_planes, test_mode;
Dupdate.c80 clck++; in update()
100 if (pp->plane_type == 0 && clck & 1) in update()
Dlog.c217 thisscore.time = clck; in log_score()
Dgraphics.c343 (void)wprintw(planes, "Time: %-4d Safe: %d", clck, safe_planes); in planewin()