Pre-requisite for this tutorial is having a basic understanding of what threads are and the main methods to synchronize them.
## Multithreading in Miosix
Miosix provides two different interfaces for creating and managing threads: the `pthread` API and a navite one. Here we will consider only the native one.
Miosix provides two different interfaces for creating and managing threads: the `pthread` API and a native one. Here we will consider only the native one.
In order to spawn a new thread, the `create()` function is needed and it takes the following parameters
*`startfunc`: the entry point function for the thread. It is the function that will be executed by the thread.