summaryrefslogtreecommitdiff
path: root/wasm2c/examples/threads/sample.wat
blob: f9680dfffab8ac40d00a69bde0219d2206c72adb (plain)
1
2
3
4
5
6
;; Module for demonstrating multi-threaded runtime

(func (export "multiplyby3") (param i32) (result i32) (i32.mul (local.get 0) (i32.const 3)))

(func $stackoverflow (export "stackoverflow")
      (call $stackoverflow))