Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 852 Bytes

wasi-threads.abi.md

File metadata and controls

31 lines (18 loc) · 852 Bytes

Types

thread-spawn-result: s32

The result of the thread-spawn() function. If spawning the thread was successful, the value is positive and represents a unique thread identifier. Otherwise, the value is negative and it represents error code.

Size: 4, Alignment: 4

start-arg: u32

A reference to data passed to the start function (wasi_thread_start()) called by the newly spawned thread.

Size: 4, Alignment: 4

Functions


thread-spawn

Creates a new thread.

Params
Results