Quote:
Originally Posted by Joe Ross
multi-threading can lead to all kinds of subtle errors. I would recommend not using it in examples for novice programmers without sufficient context. If you have to ask how fast a task executes, I question whether you can write sufficient examples.
|
1000% agree - I setup the tasks (or the framework) and show the students how it works. In 10 years only 3 students really "got it" enough to make wise changes to the framework. Most years the students fill in each task as if it were a standalone program - still amazing efforts by a 14-18 year old.
I taught classes for Wind River, Montavista and others for many years. Not all degreed professionals really get how a real-time multi-tasking environment works. Once you start talking about RMA methods, scheduling theory etc it is not just secondary students that get lost. This is (one of) the most difficult application programming environments.