Searched refs:sleep_task (Results 1 – 1 of 1) sorted by relevance
50 …struct timer_func_list_t *sleep_task = (struct timer_func_list_t *)kmalloc(sizeof(struct timer_fun… in nanosleep() local51 memset(sleep_task, 0, sizeof(struct timer_func_list_t)); in nanosleep()53 timer_func_init_us(sleep_task, &nanosleep_handler, (void *)current_pcb, rqtp->tv_nsec / 1000); in nanosleep()55 timer_func_add(sleep_task); in nanosleep()