Home
last modified time | relevance | path

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

/base/startup/init/ueventd/standard/
Dueventd_parameter.c71 struct timespec abstime = {0}; in ThreadRun() local
76abstime.tv_sec = now.tv_sec + nsec / 1000000000 + timeout / 1000; // 1000 unit 1000000000 unit nsec in ThreadRun()
77 abstime.tv_nsec = nsec % 1000000000; // 1000000000 unit nsec in ThreadRun()
78 pthread_cond_timedwait(&(parameterCtrl->hasData), &(parameterCtrl->lock), &abstime); in ThreadRun()
/base/startup/init/services/modules/bootchart/
Dbootchart.c177 struct timespec abstime = {0}; in BootchartThreadMain() local
182abstime.tv_sec = now.tv_sec + nsec / 1000000000 + timeout / 1000; // 1000 unit 1000000000 unit nsec in BootchartThreadMain()
183 abstime.tv_nsec = nsec % 1000000000; // 1000000000 unit nsec in BootchartThreadMain()
184 pthread_cond_timedwait(&(g_bootchartCtrl->cond), &(g_bootchartCtrl->mutex), &abstime); in BootchartThreadMain()