|
Saturday, February 26, 2005 |
Protothreads: lightweight, stackless threads in C.
Protothreads are extremely lightweight
stackless threads designed for severely memory constrained systems
such as small embedded systems or sensor network nodes. Protothreads
provide linear code execution for event-driven systems implemented in
C. Protothreads can be used with or without an underlying operating
system.
Main features:
- No machine specific code - the protothreads library is pure C
- Does not use error-prone functions such as longjmp()
- Very small RAM overhead - only two bytes per protothread
- Can be used with or without an OS
- Provides blocking wait without full multi-threading or
stack-switching
- Freely available under a BSD-like open source license
4:11:48 PM
|
|
© Copyright 2005 Chris Double.
|
|
|