Fix example code.

This commit is contained in:
Aleric Inglewood
2013-01-29 20:49:53 +01:00
parent e99175444f
commit 7ba0b6482c

View File

@@ -130,7 +130,7 @@ void HelloWorld::multiplex_impl(void)
case HelloWorld_start: case HelloWorld_start:
{ {
mHelloWorld.run(this, HelloWorld_done); // Run HelloWorldThread and set the state of 'this' to HelloWorld_done when finished. mHelloWorld.run(this, HelloWorld_done); // Run HelloWorldThread and set the state of 'this' to HelloWorld_done when finished.
// This statemachine is already idle() here (set to idle by the above call). idle(HelloWorld_start); // Always go idle after starting a thread!
break; break;
} }
case HelloWorld_done: case HelloWorld_done: