Searched refs:worker (Results 1 – 9 of 9) sorted by relevance
| /external/platform/pico/rp2_common/pico_async_context/ |
| A D | async_context_base.c | 12 if (worker == *prev) { in async_context_base_add_at_time_worker() 17 *prev = worker; in async_context_base_add_at_time_worker() 18 worker->next = NULL; in async_context_base_add_at_time_worker() 25 if (worker == *prev) { in async_context_base_remove_at_time_worker() 37 if (worker == *prev) { in async_context_base_add_when_pending_worker() 42 *prev = worker; in async_context_base_add_when_pending_worker() 43 worker->next = NULL; in async_context_base_add_when_pending_worker() 50 if (worker == *prev) { in async_context_base_remove_when_pending_worker() 83 for (async_at_time_worker_t *worker = self->at_time_list; worker; ) { in async_context_base_refresh_next_timeout() local 88 worker = next; in async_context_base_refresh_next_timeout() [all …]
|
| A D | async_context_freertos.c | 180 async_when_pending_worker_t worker; member 188 sync_func_call_t *call = (sync_func_call_t *)worker; in handle_sync_func_call() 191 async_context_remove_when_pending_worker(context, worker); in handle_sync_func_call() 198 call.worker.do_work = handle_sync_func_call; in async_context_freertos_execute_sync() 202 async_context_add_when_pending_worker(self_base, &call.worker); in async_context_freertos_execute_sync() 203 async_context_set_work_pending(self_base, &call.worker); in async_context_freertos_execute_sync() 234 bool rc = async_context_base_add_at_time_worker(self_base, worker); in async_context_freertos_add_at_time_worker() 241 bool rc = async_context_base_remove_at_time_worker(self_base, worker); in async_context_freertos_remove_at_time_worker() 248 bool rc = async_context_base_add_when_pending_worker(self_base, worker); in async_context_freertos_add_when_pending_worker() 255 bool rc = async_context_base_remove_when_pending_worker(self_base, worker); in async_context_freertos_remove_when_pending_worker() [all …]
|
| A D | async_context_threadsafe_background.c | 91 async_when_pending_worker_t worker; member 99 sync_func_call_t *call = (sync_func_call_t *)worker; in handle_sync_func_call() 102 async_context_remove_when_pending_worker(context, worker); in handle_sync_func_call() 144 call.worker.do_work = handle_sync_func_call; in async_context_threadsafe_background_execute_sync() 148 async_context_add_when_pending_worker(self_base, &call.worker); in async_context_threadsafe_background_execute_sync() 149 async_context_set_work_pending(self_base, &call.worker); in async_context_threadsafe_background_execute_sync() 224 worker->work_pending = true; in async_context_threadsafe_background_set_work_pending() 316 bool rc = async_context_base_add_at_time_worker(self_base, worker); in async_context_threadsafe_background_add_at_time_worker() 324 bool rc = async_context_base_remove_at_time_worker(self_base, worker); in async_context_threadsafe_background_remove_at_time_worker() 332 bool rc = async_context_base_add_when_pending_worker(self_base, worker); in async_context_threadsafe_background_add_when_pending_worker() [all …]
|
| A D | async_context_poll.c | 29 …ync_context_poll_requires_update(async_context_t *self_base, async_when_pending_worker_t *worker) { in async_context_poll_requires_update() argument 30 worker->work_pending = true; in async_context_poll_requires_update()
|
| /external/platform/pico/rp2_common/pico_async_context/include/pico/ |
| A D | async_context.h | 136 void (*do_work)(async_context_t *context, struct async_when_pending_worker *worker); 162 bool (*add_at_time_worker)(async_context_t *self, async_at_time_worker_t *worker); 275 return context->type->add_at_time_worker(context, worker); in async_context_add_at_time_worker() 295 worker->next_time = at; in async_context_add_at_time_worker_at() 296 return context->type->add_at_time_worker(context, worker); in async_context_add_at_time_worker_at() 316 worker->next_time = make_timeout_time_ms(ms); in async_context_add_at_time_worker_in_ms() 317 return context->type->add_at_time_worker(context, worker); in async_context_add_at_time_worker_in_ms() 332 return context->type->remove_at_time_worker(context, worker); in async_context_remove_at_time_worker() 352 return context->type->add_when_pending_worker(context, worker); in async_context_add_when_pending_worker() 367 return context->type->remove_when_pending_worker(context, worker); in async_context_remove_when_pending_worker() [all …]
|
| A D | async_context_base.h | 17 bool async_context_base_add_at_time_worker(async_context_t *self, async_at_time_worker_t *worker); 18 bool async_context_base_remove_at_time_worker(async_context_t *self, async_at_time_worker_t *worker… 20 …c_context_base_add_when_pending_worker(async_context_t *self, async_when_pending_worker_t *worker); 21 …ontext_base_remove_when_pending_worker(async_context_t *self, async_when_pending_worker_t *worker);
|
| /external/platform/pico/rp2_common/pico_lwip/ |
| A D | lwip_nosys.c | 12 static void update_next_timeout(async_context_t *context, async_when_pending_worker_t *worker); 13 static void lwip_timeout_reached(async_context_t *context, async_at_time_worker_t *worker); 23 … lwip_timeout_reached(__unused async_context_t *context, __unused async_at_time_worker_t *worker) { in lwip_timeout_reached() argument 24 assert(worker == &lwip_timeout_worker); in lwip_timeout_reached() 28 static void update_next_timeout(async_context_t *context, async_when_pending_worker_t *worker) { in update_next_timeout() argument 29 assert(worker == &always_pending_update_timeout_worker); in update_next_timeout() 34 worker->work_pending = true; in update_next_timeout()
|
| /external/platform/pico/rp2_common/pico_cyw43_driver/ |
| A D | cyw43_driver.c | 23 static void cyw43_sleep_timeout_reached(async_context_t *context, async_at_time_worker_t *worker); 24 static void cyw43_do_poll(async_context_t *context, async_when_pending_worker_t *worker); 82 static void cyw43_do_poll(async_context_t *context, __unused async_when_pending_worker_t *worker) { in cyw43_do_poll() argument 99 …id cyw43_sleep_timeout_reached(async_context_t *context, __unused async_at_time_worker_t *worker) { in cyw43_sleep_timeout_reached() argument 101 assert(worker == &sleep_timeout_worker); in cyw43_sleep_timeout_reached()
|
| /external/platform/pico/rp2_common/pico_btstack/ |
| A D | btstack_run_loop_async_context.c | 13 static void btstack_timeout_reached(async_context_t *context, async_at_time_worker_t *worker); 14 static void btstack_work_pending(async_context_t *context, async_when_pending_worker_t *worker); 132 …stack_timeout_reached(__unused async_context_t *context, __unused async_at_time_worker_t *worker) { in btstack_timeout_reached() argument 137 …ack_work_pending(__unused async_context_t *context, __unused async_when_pending_worker_t *worker) { in btstack_work_pending() argument
|
Completed in 15 milliseconds