(module $example (type (;0;) (func)) (type (;1;) (func (param i32))) (import "lwt" "yield" (tag $yield (;0;) (type 0))) (import "spectest" "print_i32" (func $log (;0;) (type 1))) (export "thread1" (func $thread1)) (export "thread2" (func $thread2)) (export "thread3" (func $thread3)) (func $thread1 (;1;) (type 0) i32.const 10 call $log suspend $yield i32.const 11 call $log suspend $yield i32.const 12 call $log ) (func $thread2 (;2;) (type 0) i32.const 20 call $log suspend $yield i32.const 21 call $log suspend $yield i32.const 22 call $log ) (func $thread3 (;3;) (type 0) i32.const 30 call $log suspend $yield i32.const 31 call $log suspend $yield i32.const 32 call $log ) )