MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / SetWasmThreads

Method SetWasmThreads

config_feat_threads.go:8–11  ·  view source on GitHub ↗

SetWasmThreads configures whether the wasm threads proposal is enabled

(enabled bool)

Source from the content-addressed store, hash-verified

6
7// SetWasmThreads configures whether the wasm threads proposal is enabled
8func (cfg *Config) SetWasmThreads(enabled bool) {
9 C.wasmtime_config_wasm_threads_set(cfg.ptr(), C.bool(enabled))
10 runtime.KeepAlive(cfg)
11}

Callers 2

mainFunction · 0.95
TestConfigFunction · 0.80

Calls 1

ptrMethod · 0.95

Tested by 1

TestConfigFunction · 0.64