Home
last modified time | relevance | path

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

/bionic/libc/include/
Dpthread.h217 unsigned msecs);
224 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs);
/bionic/libc/bionic/
Dpthread.c1417 __timespec_to_relative_msec(struct timespec* abstime, unsigned msecs, clockid_t clock) in __timespec_to_relative_msec() argument
1420 abstime->tv_sec += msecs/1000; in __timespec_to_relative_msec()
1421 abstime->tv_nsec += (msecs%1000)*1000000; in __timespec_to_relative_msec()
1429 int pthread_mutex_lock_timeout_np_impl(pthread_mutex_t *mutex, unsigned msecs) in pthread_mutex_lock_timeout_np_impl() argument
1437 __timespec_to_relative_msec(&abstime, msecs, clock); in pthread_mutex_lock_timeout_np_impl()
1543 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs) in pthread_mutex_lock_timeout_np() argument
1545 int err = pthread_mutex_lock_timeout_np_impl(mutex, msecs); in pthread_mutex_lock_timeout_np()
1770 unsigned msecs) in pthread_cond_timeout_np() argument
1774 ts.tv_sec = msecs / 1000; in pthread_cond_timeout_np()
1775 ts.tv_nsec = (msecs % 1000) * 1000000; in pthread_cond_timeout_np()