OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:abs_timeout
(Results
1 - 3
of
3
) sorted by null
/external/valgrind/main/drd/tests/
trylock.c
24
struct timespec
abs_timeout
;
local
26
time(&
abs_timeout
.tv_sec);
27
abs_timeout
.tv_nsec = 0;
28
abs_timeout
.tv_sec += 10;
39
r = pthread_rwlock_timedwrlock(&rwlock, &
abs_timeout
); assert(r == 0);
54
r = pthread_rwlock_timedrdlock(&rwlock, &
abs_timeout
); assert(r == 0);
72
r = pthread_mutex_timedlock(&mutex, &
abs_timeout
); assert(r == 0);
/hardware/ti/omap4xxx/domx/mm_osal/src/
timm_osal_mutex.c
159
struct timespec
abs_timeout
;
local
189
abs_timeout
.tv_sec = ltime_now.tv_sec + uTimeOut / 1000;
190
abs_timeout
.tv_nsec = (ltimenow_us % 1000000) * 1000;
196
if (SUCCESS != pthread_mutex_timedlock(plMutex, &
abs_timeout
))
timm_osal_semaphores.c
155
struct timespec
abs_timeout
;
local
186
abs_timeout
.tv_sec = ltime_now.tv_sec + (uTimeOut / 1000);
187
abs_timeout
.tv_nsec =
190
if (SUCCESS != sem_timedwait(psem, &
abs_timeout
))
Completed in 178 milliseconds