<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Multi Threading</title>
		<link>http://forums.leaflabs.com/topic.php?id=877</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:06:46 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=877" rel="self" type="application/rss+xml" />

		<item>
			<title>Phono on "Multi Threading"</title>
			<link>http://forums.leaflabs.com/topic.php?id=877#post-12757</link>
			<pubDate>Tue, 21 Aug 2012 09:05:23 +0000</pubDate>
			<dc:creator>Phono</dc:creator>
			<guid isPermaLink="false">12757@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Could you please provide a tutorial and examples on using the multitasking in Maple IDE?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Multi Threading"</title>
			<link>http://forums.leaflabs.com/topic.php?id=877#post-12433</link>
			<pubDate>Wed, 15 Aug 2012 01:32:05 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12433@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Actually I realized the issue I had had nothing to do with the usb. Rather with the fact that the malloc in newlibs stdio wont work with freertos.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nully on "Multi Threading"</title>
			<link>http://forums.leaflabs.com/topic.php?id=877#post-12432</link>
			<pubDate>Wed, 15 Aug 2012 00:43:06 +0000</pubDate>
			<dc:creator>nully</dc:creator>
			<guid isPermaLink="false">12432@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I had no luck with freertos and usb, probably an issue with my code however.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Multi Threading"</title>
			<link>http://forums.leaflabs.com/topic.php?id=877#post-12345</link>
			<pubDate>Mon, 13 Aug 2012 01:41:13 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12345@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;And has anyone experimented with it and usb.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ridgebackred on "Multi Threading"</title>
			<link>http://forums.leaflabs.com/topic.php?id=877#post-5410</link>
			<pubDate>Fri, 24 Jun 2011 18:25:16 +0000</pubDate>
			<dc:creator>ridgebackred</dc:creator>
			<guid isPermaLink="false">5410@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Wow!&#60;/p&#62;
&#60;p&#62;Can anyone hazard a rough guesstimate on the percent of processor capacity used by FreeRTOS in a simple (less than 20 threads) application?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Multi Threading"</title>
			<link>http://forums.leaflabs.com/topic.php?id=877#post-5404</link>
			<pubDate>Fri, 24 Jun 2011 13:44:10 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">5404@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ok, support for FreeRTOS 7.0.1 is now part of libmaple:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/leaflabs/libmaple/commit/8e8975a8f5f42cc46a96f4b8b6778844270db370&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/commit/8e8975a8f5f42cc46a96f4b8b6778844270db370&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;thanks a lot to nis for the pull request, and x893 for the initial version!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>infyrno917 on "Multi Threading"</title>
			<link>http://forums.leaflabs.com/topic.php?id=877#post-5402</link>
			<pubDate>Fri, 24 Jun 2011 13:15:15 +0000</pubDate>
			<dc:creator>infyrno917</dc:creator>
			<guid isPermaLink="false">5402@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I was mistaken about the datasheet, I must have been mixed up with a different chip. I just looked over it again and there's no way to do this without an OS, like you said.  Thanks for the quick reply.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Multi Threading"</title>
			<link>http://forums.leaflabs.com/topic.php?id=877#post-5399</link>
			<pubDate>Fri, 24 Jun 2011 13:12:51 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">5399@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;there's no libmaple support for multithreading.  for that, yup, you'll probably want to use a real-time operating system.  for example, there's a guide on using ChibiOS on the Maple in the wiki:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wiki.leaflabs.com/index.php?title=Running_ChibiOS_on_the_Maple_r5&#34; rel=&#34;nofollow&#34;&#62;http://wiki.leaflabs.com/index.php?title=Running_ChibiOS_on_the_Maple_r5&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;if you like FreeRTOS, we've received a pull request to merge FreeRTOS support into libmaple which should get merged into master any day now.  if you're impatient and know how to use git, you can get it yourself:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/leaflabs/libmaple/pull/19&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/pull/19&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robodude666 on "Multi Threading"</title>
			<link>http://forums.leaflabs.com/topic.php?id=877#post-5398</link>
			<pubDate>Fri, 24 Jun 2011 13:04:41 +0000</pubDate>
			<dc:creator>robodude666</dc:creator>
			<guid isPermaLink="false">5398@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Where in the datasheet did you read about Multi-Threading support?&#60;/p&#62;
&#60;p&#62;The &#60;code&#62;setup()&#60;/code&#62; function comes from Wiring's paradigms, not from multi-threading. When your sketch is compiled, the following main function is attached to your project:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;int main(void) {
    setup();

    while (1) {
        loop();
    }
    return 0;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;As you can see, setup is called first, followed by loop endlessly.&#60;/p&#62;
&#60;p&#62;The closest thing you can get to multi-threading is a real time operating system like ChibiOS.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>infyrno917 on "Multi Threading"</title>
			<link>http://forums.leaflabs.com/topic.php?id=877#post-5397</link>
			<pubDate>Fri, 24 Jun 2011 12:50:58 +0000</pubDate>
			<dc:creator>infyrno917</dc:creator>
			<guid isPermaLink="false">5397@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;If I recall from the STM32F103RB datasheet, the core supports threading.  The Maple IDE's Arduino lang seems very similar to cpp (with a hole which I will point out). The function &#34;setup()&#34; is implemented as part of the initialization for Maple; however, at least on Linux the function &#34;setup()&#34; is part of creating a new thread with cpp.&#60;/p&#62;
&#60;p&#62;How would one go about creating multiple threads on the Maple through the Maple IDE?  Did I miss something in the language library?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
