Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/lib/posix/options/
Dpthread.c516 sys_dlist_t recyclables = SYS_DLIST_STATIC_INIT(&recyclables); in posix_thread_recycle() local
526 sys_dlist_append(&recyclables, &t->q_node); in posix_thread_recycle()
530 if (sys_dlist_is_empty(&recyclables)) { in posix_thread_recycle()
534 LOG_DBG("Recycling %zu threads", sys_dlist_len(&recyclables)); in posix_thread_recycle()
536 SYS_DLIST_FOR_EACH_CONTAINER(&recyclables, t, q_node) { in posix_thread_recycle()
545 while (!sys_dlist_is_empty(&recyclables)) { in posix_thread_recycle()
546 t = CONTAINER_OF(sys_dlist_get(&recyclables), struct posix_thread, q_node); in posix_thread_recycle()