Lines Matching refs:waitable
32 ;; waitable-set.wait
37 (import "" "waitable-set.wait" (func $waitable-set-wait (param i32 i32) (result i32)))
39 (core func $waitable-set-wait (canon waitable-set.wait (memory $libc "memory")))
40 …(core instance $i (instantiate $m (with "" (instance (export "waitable-set.wait" (func $waitable-s…
43 ;; waitable-set.poll
48 (import "" "waitable-set.poll" (func $waitable-set-poll (param i32 i32) (result i32)))
50 (core func $waitable-set-poll (canon waitable-set.poll (memory $libc "memory")))
51 …(core instance $i (instantiate $m (with "" (instance (export "waitable-set.poll" (func $waitable-s…
487 (import "" "waitable.join" (func $waitable.join (param i32 i32)))
488 (import "" "waitable-set.new" (func $waitable-set.new (result i32)))
531 ;; Create a waitable set and join both subtasks to wait for both to complete
532 (global.set $ws (call $waitable-set.new))
533 (call $waitable.join (global.get $stream-subtask) (global.get $ws))
534 (call $waitable.join (global.get $future-subtask) (global.get $ws))
542 ;; same waitable set, this will be called once for each completion. We track which
579 (canon waitable.join (core func $waitable.join))
580 (canon waitable-set.new (core func $waitable-set.new))
590 (export "waitable.join" (func $waitable.join))
591 (export "waitable-set.new" (func $waitable-set.new))
652 (canon waitable.join (core func $waitable.join))
653 (canon waitable-set.new (core func $waitable-set.new))
654 (canon waitable-set.wait (memory $libc "memory") (core func $waitable-set.wait))