View Single Post
  #5   Spotlight this post!  
Unread 10-02-2014, 16:08
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,169
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Thread speed in C++

Quote:
Originally Posted by Joe Ross View Post
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.
__________________
Fast, cheap or working - pick any two!

Last edited by wireties : 10-02-2014 at 16:09. Reason: 3 thumbs
Reply With Quote