Function wasmer_c_api::wasm_c_api::unstable::features::wasmer_features_threads [−][src]
#[no_mangle] pub extern "C" fn wasmer_features_threads(
features: Option<&mut wasmer_features_t>,
enable: bool
) -> bool
Expand description
Configures whether the WebAssembly threads proposal will be enabled.
The WebAssembly threads proposal is not currently fully standardized and is undergoing development. Support for this feature can be enabled through this method for appropriate WebAssembly modules.
This feature gates items such as shared memories and atomic instructions.
This is false by default.
Example
See the module’s documentation.