Home
last modified time | relevance | path

Searched refs:timers (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/netbsd/isc/
Dev_timers.c217 if (heap_insert(ctx->timers, id) < 0) in evSetTimer()
226 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx); in evSetTimer()
249 if (heap_element(ctx->timers, del->index) != del) in evClearTimer()
252 if (heap_delete(ctx->timers, del->index) < 0) in evClearTimer()
258 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx); in evClearTimer()
276 if (heap_element(ctx->timers, timer->index) != timer) in evConfigTimer()
302 if (heap_element(ctx->timers, timer->index) != timer) in evResetTimer()
331 result = heap_increased(ctx->timers, timer->index); in evResetTimer()
337 result = heap_decreased(ctx->timers, timer->index); in evResetTimer()
343 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx); in evResetTimer()
[all …]
Deventlib_p.h210 heap_context timers; member
/bionic/libc/bionic/
Dpthread-timers.c119 thr_timer_t timers[ MAX_THREAD_TIMERS ]; member
134 t->timers[nn].id = TIMER_ID_NONE; in thr_timer_table_init()
136 t->free_timer = &t->timers[0]; in thr_timer_table_init()
138 t->timers[nn-1].next = &t->timers[nn]; in thr_timer_table_init()
155 timer->id = TIMER_ID_WRAP((timer - t->timers)); in thr_timer_table_alloc()
182 thr_timer_t* timer = &t->timers[nn]; in thr_timer_table_start_stop()
216 timer = &t->timers[index]; in thr_timer_table_from_id()
/bionic/libc/docs/
DOVERVIEW.TXT302 Bionic also now supports SIGEV_THREAD real-time timers (see timer_create()).
305 timers with compatible properties are used.
307 This means that if your code uses a lot of SIGEV_THREAD timers, your program
309 timers, it'd better handle timeout events directly instead.
311 Other timers (e.g. SIGEV_SIGNAL) are handled by the kernel and use much less
/bionic/libc/
DAndroid.mk307 bionic/pthread-timers.c.arm \
336 bionic/pthread-timers.c \