Searched refs:curtime (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.4.0/tests/posix/common/src/ |
D | mqueue.c | 30 struct timespec curtime; in sender_thread() local 33 clock_gettime(CLOCK_MONOTONIC, &curtime); in sender_thread() 34 curtime.tv_sec += 1; in sender_thread() 35 zassert_false(mq_timedsend(mqd, send_data, MESSAGE_SIZE, 0, &curtime), in sender_thread() 49 struct timespec curtime; in receiver_thread() local 52 clock_gettime(CLOCK_MONOTONIC, &curtime); in receiver_thread() 53 curtime.tv_sec += 1; in receiver_thread() 54 mq_timedreceive(mqd, rec_data, MESSAGE_SIZE, 0, &curtime); in receiver_thread()
|
/Zephyr-Core-3.4.0/lib/posix/ |
D | pthread_common.c | 16 struct timespec curtime; in timespec_to_timeoutms() local 22 clock_gettime(CLOCK_MONOTONIC, &curtime); in timespec_to_timeoutms() 23 secs = abstime->tv_sec - curtime.tv_sec; in timespec_to_timeoutms() 24 nsecs = abstime->tv_nsec - curtime.tv_nsec; in timespec_to_timeoutms()
|