Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/common/osi/
Dthread.c58 uint16_t queue_idx; member
330 bool osi_thread_post(osi_thread_t *thread, osi_thread_func_t func, void *context, int queue_idx, ui… in osi_thread_post() argument
335 if (queue_idx >= thread->work_queue_num) { in osi_thread_post()
344 if (osi_thead_work_queue_put(thread->work_queues[queue_idx], &item, timeout) == false) { in osi_thread_post()
402 bool osi_event_bind(struct osi_event* event, osi_thread_t *thread, int queue_idx) in osi_event_bind() argument
408 if (thread == NULL || queue_idx >= thread->work_queue_num) { in osi_event_bind()
413 event->queue_idx = queue_idx; in osi_event_bind()
432 assert(event->queue_idx >= 0 && event->queue_idx < event->thread->work_queue_num); in osi_thread_post_event()
442 …osi_thread_post(event->thread, osi_thread_generic_event_handler, event, event->queue_idx, timeout); in osi_thread_post_event()
/hal_espressif-latest/components/bt/common/osi/include/osi/
Dthread.h61 bool osi_thread_post(osi_thread_t *thread, osi_thread_func_t func, void *context, int queue_idx, ui…
104 bool osi_event_bind(struct osi_event* event, osi_thread_t *thread, int queue_idx);