Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dthread.cc48 fixed_queue_t* work_queue; member
76 ret->work_queue = fixed_queue_new(work_queue_capacity); in thread_new_sized()
77 if (!ret->work_queue) goto error; in thread_new_sized()
97 fixed_queue_free(ret->work_queue, osi_free); in thread_new_sized()
114 fixed_queue_free(thread->work_queue, osi_free); in thread_free()
139 fixed_queue_enqueue(thread->work_queue, item); in thread_post()
216 int fd = fixed_queue_get_dequeue_fd(thread->work_queue); in run_thread()
217 void* context = thread->work_queue; in run_thread()
229 static_cast<work_item_t*>(fixed_queue_try_dequeue(thread->work_queue)); in run_thread()
230 while (item && count <= fixed_queue_capacity(thread->work_queue)) { in run_thread()
[all …]