Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
wabt
/
refs/heads/main
/
.
/
wasm2c
/
examples
/
threads
/
sample.wat
blob: f9680dfffab8ac40d00a69bde0219d2206c72adb [
file
] [
edit
]
;;
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
))