Unstacked C

Stackless Multithreading for C

TechnologyDownload
Overview

UnStacked C is a stackless multithreading system. It allows programmers to write software in a traditional preemptive multithreaded fashion, but allows the programs to execute in an event driven fashion.

It was initially designed for TinyOS, but it can be run on PCs and in embedded systems.

Project Status

This project has not been updated much recently. This is based off of graduate work done in 2006-2011.

That said, I'm happy to help out any ongoing usages or developments. Don't hesitate to reach out.

Translate Threads to Event Driven

Unstacked C is a C to C compiler which transforms multithreaded code into event driven code with a single stack.

Millions of Threads

With Unstacked C it is possible to run one million threads in less than 50MB of RAM in a simple application.

Reduce Embedded RAM Footprint

When recompiling embedded applications with Unstacked C, we have reduced total memory consumption by more than 25%.

Sponsored by Thing Done LLC