Threads are easily created in a Limbo program. Each Limbo program starts as a single thread. The first thread of each program is created when the program starts; it begins execution at the function named init
. The keyword spawn
allows you to create a new independently scheduled thread of execution from a Limbo function.