multi threaded workers

This commit is contained in:
JMARyA 2025-03-08 18:01:16 +01:00
parent 0c190df5d7
commit e827faaa3f
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
7 changed files with 208 additions and 45 deletions

View file

@ -17,7 +17,7 @@ pub fn myfn(i: i32) -> i32 {
i * 2
}
#[worker]
#[worker(4)]
pub fn multiply(a: i32, b: i32) -> i32 {
a * b
}