<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki-de.moshellshocker.dns64.de/index.php?action=history&amp;feed=atom&amp;title=Protothread</id>
	<title>Protothread - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki-de.moshellshocker.dns64.de/index.php?action=history&amp;feed=atom&amp;title=Protothread"/>
	<link rel="alternate" type="text/html" href="https://wiki-de.moshellshocker.dns64.de/index.php?title=Protothread&amp;action=history"/>
	<updated>2026-05-20T03:30:26Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikipedia (Deutsch) – Lokale Kopie</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki-de.moshellshocker.dns64.de/index.php?title=Protothread&amp;diff=1600484&amp;oldid=prev</id>
		<title>imported&gt;SchlurcherBot: Bot: http → https</title>
		<link rel="alternate" type="text/html" href="https://wiki-de.moshellshocker.dns64.de/index.php?title=Protothread&amp;diff=1600484&amp;oldid=prev"/>
		<updated>2025-12-05T22:55:11Z</updated>

		<summary type="html">&lt;p&gt;Bot: http → https&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Ein &amp;#039;&amp;#039;&amp;#039;Protothread&amp;#039;&amp;#039;&amp;#039; ist in der [[Informatik]] ein leichtgewichtiger Mechanismus zur [[Parallele Programmierung|parallelen Programmierung]]. &lt;br /&gt;
&lt;br /&gt;
Protothreads kommen im Gegensatz zu [[Thread (Informatik)|Threads]] ohne eigenen [[Stapelspeicher]] aus. Sie können blockierende Kontexte mit geringstmöglichem Speicherbedarf abbilden. Solche Aufgabenstellungen findet man in der Informatik häufig, zum Beispiel beim Umsetzen von [[Kommunikationsprotokoll|Protokollen]], bei [[Schnittstelle]]n zwischen Computern und in [[Eingebettetes System|eingebetteten Systemen]].&lt;br /&gt;
&lt;br /&gt;
Protothreads ist eine Art des [[Multitasking#Kooperatives Multitasking|kooperativen Multitasking]]. Deshalb können [[Kontextwechsel]] nur an speziell vorgesehenen Programmstellen stattfinden. Protothreads haben keinen eigenen Stapelspeicher, deshalb müssen lokale Variable statisch oder global definiert werden, wenn sie über einen Kontextwechsel hinweg erhalten bleiben sollen.&lt;br /&gt;
&lt;br /&gt;
Protothreads verbinden die Vorteile von [[Ereignis (Programmierung)|ereignisgetriebener]] (bzw. durch [[Endlicher Automat|Zustandsautomaten]] gesteuerter) Programmierung mit threadorientierter Programmierung. Protothreads wurden von [[Adam Dunkels]] entwickelt und veröffentlicht.&amp;lt;ref&amp;gt;Adam Dunkels: &amp;#039;&amp;#039;{{Webarchiv|url=http://www.sics.se/~adam/pt/ |wayback=20051013062233 |text=Protothreads - Lightweight, Stackless Threads in C |archiv-bot=2019-05-08 09:07:23 InternetArchiveBot }}&amp;#039;&amp;#039;.&amp;lt;/ref&amp;gt; Die Umsetzung von Adam Dunkels ist [[ANSI C|ANSI-C]]-konform und kommt ohne Maschinensprache aus. Eine weitere Umsetzung&amp;lt;ref&amp;gt;Larry Ruane: &amp;#039;&amp;#039;[https://github.com/LarryRuane/protothread Protothreads]&amp;#039;&amp;#039;&amp;lt;/ref&amp;gt; nutzt spezifische Spracherweiterungen der [[GNU Compiler Collection|GCC]]-Toolchain. Zwei bekannte, ebenfalls von Adam Dunkels veröffentlichte Projekte, der [[TCP/IP-Stack]] [[uIP (micro IP)|uIP]]&amp;lt;ref&amp;gt;Adam Dunkels: &amp;#039;&amp;#039;{{Webarchiv|url=http://www.sics.se/~adam/uip/index.php/Main_Page |wayback=20100430212028 |text=The open source TCP/IP stack for embedded 8-Bit microcontrollers |archiv-bot=2019-05-08 09:07:23 InternetArchiveBot }}&amp;#039;&amp;#039;.&amp;lt;/ref&amp;gt; und das Betriebssystem [[Contiki]]&amp;lt;ref&amp;gt;Adam Dunkels: &amp;#039;&amp;#039;{{Webarchiv|url=http://www.sics.se/contiki/ |wayback=20100825150207 |text=The Operating System for Embedded Smart Objects - the Internet of Things |archiv-bot=2019-05-08 09:07:23 InternetArchiveBot }}&amp;#039;&amp;#039;.&amp;lt;/ref&amp;gt;, nutzen Protothreads.&lt;br /&gt;
&lt;br /&gt;
== Siehe auch ==&lt;br /&gt;
* [[Koroutine]]&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
* Simon Tatham: &amp;#039;&amp;#039;[https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html Coroutines in C]&amp;#039;&amp;#039;.&lt;br /&gt;
* Mauricio Fernandez: &amp;#039;&amp;#039;[http://eigenclass.org/hiki/threadring-with-protothreads The lightest lightweight threads, Protothreads.]&amp;#039;&amp;#039;&lt;br /&gt;
* Stefan Frings: &amp;#039;&amp;#039;[https://stefanfrings.de/avr_io/protosockets.html Multitasking mit Protothreads und Protosockets.]&amp;#039;&amp;#039;&lt;br /&gt;
* [https://github.com/frameworklabs/proto_activities &amp;#039;&amp;#039;proto_activities: Using Protothreads to enable imperative synchronous programming in C.&amp;#039;&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
== Belege ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Parallelverarbeitung]]&lt;/div&gt;</summary>
		<author><name>imported&gt;SchlurcherBot</name></author>
	</entry>
</feed>