Clone in a terminal:
lib.rs
examples/threads/src/ - Remove threads with shared memory commit 9c53342
use kaja_web::prelude::*; use wasm_bindgen::{JsValue, prelude::wasm_bindgen}; macro_rules! console_log { ($($t:tt)*) => (crate::log(&format_args!($($t)*).to_string())) } #[wasm_bindgen] extern "C" { #[wasm_bindgen(js_namespace = console)] pub(crate) fn log(s: &str); #[wasm_bindgen(js_namespace = console, js_name = log)] pub(crate) fn logv(x: &JsValue); } mod main_component; mod thread; #[wasm_bindgen(start)] pub fn init() { std::panic::set_hook(Box::new(console_error_panic_hook::hook)); console_error_panic_hook::set_once(); init_callbacks(); }

File history (3 commits)

321ec6b Johan Mattsson - johan.mattsson.m@gmail.com
Remove threads with shared memory
Remove threads with shared memory
6ce3ae3 Johan Mattsson - johan.mattsson.m@gmail.com
Clean up code and identify problems
Clean up code and identify problems
2145271 Johan Mattsson - johan.mattsson.m@gmail.com
Remove thread pool and provide a single function for spawning new threads
Remove thread pool and provide a single function for spawning new threads

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112