# 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
- `start-arg`: [`start-arg`](#start_arg)
##### Results
- [`thread-spawn-result`](#thread_spawn_result)