Searched refs:task_state (Results 1 – 3 of 3) sorted by relevance
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/component/ |
| H A D | resources.rs | 73 pub task_state: &'a mut ComponentTaskState, field 229 self.task_state.call_context(scope)?.borrow_count -= 1; in resource_drop() 276 let scope = self.task_state.current_call_context_scope_id()?; in resource_lift_borrow() 277 self.task_state.call_context(scope)?.lenders.push(index); in resource_lift_borrow() 295 let scope = self.task_state.current_call_context_scope_id()?; in resource_lower_borrow() 296 let cx = self.task_state.call_context(scope)?; in resource_lower_borrow() 309 let current = self.task_state.current_call_context_scope_id()?; in validate_scope_exit() 310 let cx = self.task_state.call_context(current)?; in validate_scope_exit()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | store.rs | 49 task_state: ComponentTaskState, field 88 task_state: if engine.tunables().concurrency_support { in new() 121 if store.0.component_data().task_state.is_concurrent() { in run_manual_drop_routines() 299 &mut self.component_data_mut().task_state in component_task_state_mut() 326 self.component_data_mut().task_state.concurrent_state_mut() in concurrent_state_mut() 332 let support = self.component_data().task_state.is_concurrent(); in concurrency_support() 350 &mut data.task_state, in lift_context_parts() 390 task_state: &mut data.task_state, in component_resource_tables_and_host_resource_data() 398 let state = match &mut self.component_data_mut().task_state { in enter_call_not_concurrent() 406 let state = match &mut self.component_data_mut().task_state { in exit_call_not_concurrent()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/func/ |
| H A D | options.rs | 318 task_state: &'a mut ComponentTaskState, field 346 let (task_state, host_table, host_resource_data, instance) = in new() 357 task_state, in new() 402 self.task_state.concurrent_state_mut() in concurrent_state_mut() 462 task_state: self.task_state, in resource_tables()
|