Introduction

MicroThreads is a simple C hack to allow for the continuation of a function at an arbitrary point of its execution. The application of this construct is similar to cooperative threading, and in reality it is a toolkit for creating complex state machines without explicitly defining every state.

MicroThreads is inspired by Protothreads by Adam Dunkels

Documentation

Source Code

Everything in a Zip: microthreads-20070129.zip