Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Protothreads: simplifying event-driven programming of memory-constrained embedded systems
RISE., Swedish ICT, SICS.
RISE., Swedish ICT, SICS, Computer Systems Laboratory.ORCID-id: 0000-0002-2586-8573
2006 (engelsk)Konferansepaper, Publicerat paper (Fagfellevurdert)
Abstract [en]

Event-driven programming is a popular model for writing programs for tiny embedded systems and sensor network nodes. While event-driven programming can keep the memory overhead down, it enforces a state machine programming style which makes many programs difficult to write, maintain, and debug. We present a novel programming abstraction called protothreads that makes it possible to write event-driven programs in a thread-like style, with a memory overhead of only two bytes per protothread. We show that protothreads significantly reduce the complexity of a number of widely used programs previously written with event-driven state machines. For the examined programs the majority of the state machines could be entirely removed. In the other cases the number of states and transitions was drastically decreased. With protothreads the number of lines of code was reduced by one third. The execution time overhead of protothreads is on the order of a few processor cycles.

sted, utgiver, år, opplag, sider
2006, 1. , s. 14
HSV kategori
Identifikatorer
URN: urn:nbn:se:ri:diva-21144OAI: oai:DiVA.org:ri-21144DiVA, id: diva2:1041178
Konferanse
Proceedings of the Fourth ACM Conference on Embedded Networked Sensor Systems (SenSys 2006)
Prosjekter
DTN/SNRUNESContikiuIPProtothreadsTilgjengelig fra: 2016-10-31 Laget: 2016-10-31 Sist oppdatert: 2025-09-23bibliografisk kontrollert

Open Access i DiVA

Fulltekst mangler i DiVA

Andre lenker

http

Person

Voigt, Thiemo

Søk i DiVA

Av forfatter/redaktør
Voigt, Thiemo
Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric

urn-nbn
Totalt: 280 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
v. 2.47.0