- Wed Sep 14, 2011 3:30 am
#133325
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
It can be downloaded from google code
http://code.google.com/p/tinythread/
TinyThread Specifications
Multitask
- Round-Robin
Preemptive
Can avoid priority inversion by mutex
- Define Tasks, Unlimited
Active Tasks, Unlimited
User Priorities, Unlimited
Thread Stack Checking, Supported
- <300 cycles without thread sleeping and stack checking supported.
<400 cycles with thread sleeping and stack checking supported.
- delay, supported by tt_sleep()
micro delay, supported by tt_usleep()
- Semaphores, Unlimited
Mutexes, Unlimited
Recursive mutexes, Unlimited
Conditions, Unlimited
Mailbox(Message), Unlimited
- Semaphores/Mutexes/Recursive Mutexed/Conditions can be used in Irq. (Some functions are limited, see Doc\TinyThread.doc)
- RAM Space for a Task
- Task Stack Size + 68 Bytes(MAX)
Task Stack Size + 28 Bytes(MIN)
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 - Task Stack Size + 68 Bytes(MAX)