Home
last modified time | relevance | path

Searched refs:spawn (Results 1 – 25 of 78) sorted by relevance

1234

/wasmtime-44.0.1/tests/all/guest_debug/
H A Dmod.rs61 fn spawn( in spawn() method
75 let mut child = cmd.spawn()?; in spawn()
174 let mut wt = WasmtimeWithGdbstub::spawn( in guest_debug_cli_fib_breakpoint()
211 let mut wt = WasmtimeWithGdbstub::spawn( in guest_debug_cli_fib_step()
271 let mut wt = WasmtimeWithGdbstub::spawn( in guest_debug_serve_requests()
284 let lldb_handle = std::thread::spawn(move || lldb_with_gdbstub_script(gdb_port, "c\n")); in guest_debug_serve_requests()
328 let mut wt = WasmtimeWithGdbstub::spawn( in guest_debug_serve_breakpoint()
343 let lldb_handle = std::thread::spawn(move || { in guest_debug_serve_breakpoint()
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp3_cli_hello_stdout_post_return.rs10 wit_bindgen::spawn(async move { in run()
14 wit_bindgen::spawn(async move { in run()
H A Dp3_api_proxy.rs4 use wit_bindgen::spawn;
39 spawn(async { in handle()
H A Dasync_yield_post_return_callee.rs21 async_support::spawn(async move { in run()
H A Dasync_yield_post_return_caller.rs24 async_support::spawn(async move { in run()
H A Dasync_unit_stream_callee.rs22 wit_bindgen::spawn(async move { in run()
H A Dasync_borrowing_callee.rs21 wit_bindgen::spawn(async move { in foo()
/wasmtime-44.0.1/examples/tokio/
H A Dmain.rs21 let join1 = tokio::task::spawn(async move { run_wasm(inputs1).await }); in main()
22 let join2 = tokio::task::spawn(async move { in main()
26 let join3 = tokio::task::spawn(async move { in main()
/wasmtime-44.0.1/tests/all/
H A Dpiped_tests.rs15 .spawn()?; in run_wasmtime_piped()
24 .spawn()?; in run_wasmtime_piped()
H A Dcli_tests.rs543 .spawn()?; in run_cwasm_from_stdin()
997 .spawn()?; in preview2_stdin()
999 std::thread::spawn(move || { in preview2_stdin()
1015 .spawn()?; in preview2_stdin()
1156 .spawn()?; in p2_cli_stdin_empty()
1177 .spawn()?; in p2_cli_stdin()
1198 .spawn()?; in p2_cli_splice_stdin()
1409 .spawn()?; in p2_cli_stdio_write_flushes()
1531 Self::spawn(&mut cmd) in new()
2871 .spawn() in p3_cli_read_stdin()
[all …]
H A Diloop.rs84 let thread = std::thread::spawn(move || { in loop_interrupt_from_afar()
121 let thread = std::thread::spawn(move || { in function_interrupt_from_afar()
/wasmtime-44.0.1/crates/wasi-tls/src/p2/
H A Dio.rs36 pub(crate) fn spawn<F>(fut: F) -> Self in spawn() function
41 wasmtime_wasi::runtime::spawn(async move { fut.await }), in spawn()
300 *self = WriteState::Writing(wasmtime_wasi::runtime::spawn(async move { in write()
320 *self = WriteState::Flushing(wasmtime_wasi::runtime::spawn(async move { in flush()
331 *self = WriteState::Flushing(wasmtime_wasi::runtime::spawn(async move { in flush()
366 *self = WriteState::Closing(wasmtime_wasi::runtime::spawn(async move { in close()
373 *self = WriteState::Closing(wasmtime_wasi::runtime::spawn(async move { in close()
/wasmtime-44.0.1/examples/
H A Dthreads.rs35 thread::spawn(move || { in main()
64 let child = thread::spawn(move || run.call(&mut store, ())); in run()
H A Dinterrupt.rs21 std::thread::spawn(move || { in main()
/wasmtime-44.0.1/crates/wasi-http/tests/all/
H A Dhttp_server.rs44 let thread = std::thread::spawn(|| -> Result<_> { in new()
57 let worker = std::thread::spawn(move || { in new()
145 tokio::task::spawn(fut); in execute()
/wasmtime-44.0.1/crates/wasi-threads/src/
H A Dlib.rs34 pub fn spawn(&self, host: T, thread_start_arg: i32) -> Result<i32> { in spawn() method
69 builder.spawn(move || { in spawn()
159 match ctx.spawn(host, start_arg) { in add_to_linker()
/wasmtime-44.0.1/benches/
H A Dthread_eager_init.rs67 thread::spawn(move || duration_of_call(&engine, &module)) in lazy_thread_instantiate()
76 thread::spawn(move || { in eager_thread_instantiate()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dparking_spot.rs334 let thread1 = s.spawn(|| { in atomic_wait_notify()
341 let thread2 = s.spawn(|| { in atomic_wait_notify()
349 let thread3 = s.spawn(|| { in atomic_wait_notify()
453 threads.push(s.spawn(move || test.run())); in run_parking_test()
602 let thread = s.spawn(|| { in wait_with_timeout()
616 threads.push(s.spawn(|| { in wait_with_timeout()
/wasmtime-44.0.1/cranelift/isle/isle/tests/
H A Drun_tests.rs60 .spawn() in build_and_link_isle()
76 .spawn() in run_run()
/wasmtime-44.0.1/ci/
H A Dbuild-test-matrix.js8 const { spawn } = require('node:child_process');
167 const child = spawn("cargo", ["metadata"], { encoding: "utf8" });
/wasmtime-44.0.1/crates/wasi/src/
H A Druntime.rs86 pub fn spawn<F>(f: F) -> AbortOnDropJoinHandle<F::Output> in spawn() function
91 let j = with_ambient_tokio_runtime(|| tokio::task::spawn(f)); in spawn()
/wasmtime-44.0.1/crates/wasi-http/src/p2/
H A Dmod.rs559 let handle = wasmtime_wasi::runtime::spawn(async move { in default_send_request()
647 let worker = wasmtime_wasi::runtime::spawn(async move {
668 let worker = wasmtime_wasi::runtime::spawn(async move {
/wasmtime-44.0.1/cranelift/filetests/src/
H A Dconcurrent.rs119 .spawn(move || { in heartbeat_thread()
136 .spawn(move || { in worker_thread()
/wasmtime-44.0.1/crates/wasmtime/src/profiling_agent/
H A Dpulley.rs120 agent.sampling_thread = Some(thread::spawn(move || sampling_thread(&state, tx))); in new()
122 agent.recording_thread = Some(thread::spawn(move || recording_thread(&state, rx))); in new()
/wasmtime-44.0.1/crates/wasmtime/tests/
H A Dunload-engine.rs14 std::thread::spawn(|| { in test_unload_engine()

1234