Protothreads

Protothreads

In computer science, protothreads are a low-overhead mechanism for concurrent programming.

Protothreads function as stackless, lightweight threads providing a blocking context cheaply using only two bytes per protothread. [http://eigenclass.org/hiki/about Eigenclass] performed a comparision of protothreads against POSIX threads, and found a 400x improvement in speed [http://eigenclass.org/hiki/threadring-with-protothreads] .

References

*A. Dunkels, O. Schmidt, T. Voigt, and M. Ali, [http://doi.acm.org/10.1145/1182807.1182811 "Protothreads: Simplifying Event-Driven Programming of Memory-Constrained Embedded Systems"] , Proc. ACM SenSys, Boulder, CO, USA, Nov 2006. ( [http://www.sics.se/~adam/dunkels06protothreads.pdf PDF] , [http://www.sics.se/~adam/dunkels06protothreads.ppt Presentation slides] )

External links

* [http://www.sics.se/~adam/pt/ Protothread library in C] used by Contiki
* [http://www.sics.se/~adam/dunkels05using.pdf Using Protothreads for Sensor Node Programming] A PDF with some in-depth discussion about the use of Protothreads
* [http://www.frameworklabs.de/protothreads.html Protothreads library in Objective-C]

ee also

* Coroutine


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Protothreads — In der Informatik ist ein Protothread ein leichtgewichtiger Mechanismus zur parallelen Programmierung. Protothreads kommen im Gegensatz zu Threads ohne eigenen Stapelspeicher aus. Sie können blockierende Kontexte mit geringstmöglichem… …   Deutsch Wikipedia

  • Protothread — In der Informatik ist ein Protothread bzw. Protofaden ein leichtgewichtiger Mechanismus zur parallelen Programmierung. Protothreads kommen im Gegensatz zu Threads ohne eigenen Stapelspeicher aus. Sie können blockierende Kontexte mit… …   Deutsch Wikipedia

  • Contiki — Скриншот VNC сервера запушенного на Atmel AVR порте ОС Contiki. Разработчик …   Википедия

  • Adam Dunkels — Infobox Celebrity name = Adam Dunkels caption = birth date = birth date and age|1978|05|28 birth place = Sweden occupation = Researcher website = http://www.sics.se/ adam/ known for = Contiki, lwIP, uIP, Protothreads footnotes = Adam Dunkels,… …   Wikipedia

  • Duff's device — In computer science, Duff s device is an optimized implementation of a serial copy that uses a technique widely applied in assembly language for loop unwinding. Its discovery is credited to Tom Duff in November of 1983, who at the time was… …   Wikipedia

  • Contiki — This article is about the embedded operating system. For other uses, see Contiki (disambiguation). Not to be confused with Kontiki. Contiki Screenshot of the VNC server running on the Atmel AVR port of Contiki. Com …   Wikipedia

  • Устройство Даффа — В информатике, Устройство Даффа (англ. Duff s device)  это оптимизированная реализация последовательного копирования, использующая ту же технику, что применяется для размотки циклов. Первое описание сделано Томом Даффом (Tom Duff) в… …   Википедия

  • Метод Даффа — В информатике, Метод Даффа (англ. Duff s device)  это оптимизированная реализация последовательного копирования, использующая ту же технику, что применяется для размотки циклов. Первое описание сделано в ноябре 1983 года Томом Даффом… …   Википедия

  • List of computer scientists — Expand list|date=August 2008This is a list of well known computer scientists, people who do work in computer science, in particular researchers and authors.Some persons notable as programmers are included here because they work in research as… …   Wikipedia

  • List of programmers — This list is incomplete; you can help by expanding it. This is a list of programmers notable for their contributions to software, either as original author or architect, or for later additions. Contents: A B C D E F G H I J K L M N …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”