avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] multi-tasking source for education?


From: Ned Konz
Subject: Re: [avr-gcc-list] multi-tasking source for education?
Date: Wed, 28 Apr 2004 14:51:27 -0700
User-agent: KMail/1.6.2

On Wednesday 28 April 2004 8:19 am, Larry Barello wrote:
> I think your requirements are at odds with each other.  Multi-tasking is
> complex by nature.  You can demonstrate cooperative multi-tasking by
> teaching FSM (finite state machines) and having a main loop that calls
> various FSM tasks based upon flags (semaphores) or queue entries.

I'd agree with Larry.

I have had enough problems getting professional programmers to deal with 
message queues, semaphores, and other artifacts of multitasking.

If you can use either a FSM or a non-preemptive round-robin scheduler it will 
be much easier to teach.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE


reply via email to

[Prev in Thread] Current Thread [Next in Thread]