<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Software design and embedded system tools. &#187; lightweight thread</title>
	<atom:link href="http://embedsoftdev.com/tag/lightweight-thread/feed/" rel="self" type="application/rss+xml" />
	<link>http://embedsoftdev.com</link>
	<description>Good information for software design</description>
	<lastBuildDate>Mon, 09 Apr 2012 23:27:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Protothreads (A lightweight thread for embedded system).</title>
		<link>http://embedsoftdev.com/embedded/protothreads-a-lightweight-thread-for-embedded-system/</link>
		<comments>http://embedsoftdev.com/embedded/protothreads-a-lightweight-thread-for-embedded-system/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 12:55:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Embedded]]></category>
		<category><![CDATA[lightweight thread]]></category>
		<category><![CDATA[protothread]]></category>
		<category><![CDATA[protothreads]]></category>

		<guid isPermaLink="false">http://embedsoftdev.com/?p=124</guid>
		<description><![CDATA[Protothreads was designed to use and work in the system that have limitation in memory such as Embedded System or Sensor Node.It exclude the Stack (Stack is used for store the working status of each thread) and it also support the code that working in linear style on system that operation is base on event [...]
Related posts:<ol>
<li><a href='http://embedsoftdev.com/embedded/rtos-for-avr-part-two/' rel='bookmark' title='RTOS for AVR part two'>RTOS for AVR part two</a></li>
<li><a href='http://embedsoftdev.com/embedded/simulation-software-for-embedded-system/' rel='bookmark' title='Simulation software for embedded system.'>Simulation software for embedded system.</a></li>
<li><a href='http://embedsoftdev.com/embedded/rtos-for-small-embedded-system/' rel='bookmark' title='RTOS for small embedded system.'>RTOS for small embedded system.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Protothreads was designed to use and work in the system that have limitation<br />
in memory such as Embedded System or Sensor Node.It exclude the Stack<br />
(Stack is used for store the working status of each thread) and it also support<br />
the code that working in linear style on system that operation is base on event<br />
(Event-driver).Otherwise it can work in cooperate with RTOS or work stand-alone<br />
without RTOS.</p>
<p>Protothreads is the thread that cut out the Stack (Stackless), so it is very<br />
small but it remain the top context of working in the system.The responsibility<br />
of Protothreads is  managing the status of complicated system or doing Multi-threading<br />
because Protothreads have the instruction set for handling the thread.</p>
<p>The qualification of Protothreads are as follow&#8230;<br />
1.Protothreads was written in pure C and no Assembly.<br />
2.Can be used with OS or used without OS.<br />
3.There is no error in manipulation part,use no error-prone functions.<br />
4.Use very small RAM size.<br />
5.Support waiting or blocking the execution part without doing Multi-threading or<br />
Stack-switching</p>
<p>For more information about Protothreads please visit<br />
- <a rel="nofollow" target="_blank" href="http://en.wikipedia.org/wiki/Protothreads">Wikipedia</a><br />
- <a rel="nofollow" target="_blank" href="http://www.sics.se/~adam/pt/">Protothreads website</a><br />
- <a rel="nofollow" target="_blank" href="http://www.sics.se/~adam/dunkels06protothreads.pdf">Protothreads document in PDF</a><br />
- <a rel="nofollow" target="_blank" href="http://sourceforge.net/projects/protothread/develop">Download from Sourceforge</a></p>
<p>Thank you,<br />
      Jitkasem Pintaya</p>
<p>Related posts:<ol>
<li><a href='http://embedsoftdev.com/embedded/rtos-for-avr-part-two/' rel='bookmark' title='RTOS for AVR part two'>RTOS for AVR part two</a></li>
<li><a href='http://embedsoftdev.com/embedded/simulation-software-for-embedded-system/' rel='bookmark' title='Simulation software for embedded system.'>Simulation software for embedded system.</a></li>
<li><a href='http://embedsoftdev.com/embedded/rtos-for-small-embedded-system/' rel='bookmark' title='RTOS for small embedded system.'>RTOS for small embedded system.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://embedsoftdev.com/embedded/protothreads-a-lightweight-thread-for-embedded-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

