The library is designed to support ARM Cortex M0, with very small memory usage.
It can be downloaded from google code
http://code.google.com/p/tinythread/
TinyThread Specifications
Multitask
Preemptive
Can avoid priority inversion by mutex
Task Specifications
Active Tasks, Unlimited
User Priorities, Unlimited
Thread Stack Checking, Supported
Context Switch Time,
<400 cycles with thread sleeping and stack checking supported.
Time
micro delay, supported by tt_usleep()
Inter-Task Communication
Mutexes, Unlimited
Recursive mutexes, Unlimited
Conditions, Unlimited
Mailbox(Message), Unlimited
Thread/Irq Communication
Memory specifications
Task Stack Size + 28 Bytes(MIN)
RAM Space for a Semaphore, 8 Bytes
RAM Space for a Mutex, 8 Bytes
RAM Space for a Recursive Mutex, 16 Bytes
RAM Space for a Condition, 12 Bytes
RAM Space for a Mailbox, 40 Bytes + user defined message buffer