Change search
ReferencesLink to record
Permanent link

Direct link
Protothreads - Lightweight Stackless Threads in C
Number of Authors: 2
2005 (English)Report (Refereed)
Abstract [en]

Protothreads are a extremely lightweight, stackless threads designed for use in severely memory constrained systems such as embedded systems. Software for memory constrained embedded systems sometimes are based on an event-driven model rather than on multi-threading. While event-driven systems allow for reduced memory usage, they require programs to be developed as explicit state machines. Since implementing programs as explicit state machines is hard, developing, maintaining, and debugging programs for event-driven systems is difficult. Protothreads simplify implementation of high-level functionality on top of event-driven systems, without significantly increasing the memory requirements. Protothreads can be implemented in in the C programming language using 10 lines of code and 2 bytes of RAM per protothread.

Place, publisher, year, edition, pages
Swedish Institute of Computer Science , 2005, 1. , 25 p.
SICS Technical Report, ISSN 1100-3154 ; 2005:05
Keyword [en]
multi-threading, event-driven programming, embedded systems
National Category
Computer and Information Science
URN: urn:nbn:se:ri:diva-22094OAI: diva2:1041636
Available from: 2016-10-31 Created: 2016-10-31

Open Access in DiVA

fulltext(85 kB)5 downloads
File information
File name FULLTEXT01.pdfFile size 85 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Computer and Information Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 5 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

ReferencesLink to record
Permanent link

Direct link