To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1729
1728  |  1730
Subject: 
Re: multiple "execi" with different priorities
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 22 Feb 2001 22:22:08 GMT
Viewed: 
1379 times
  
"Ross Crawford" <rcrawford@csi.com> writes:

must get a slice before any lower priority tasks get any slice. And remember
that LegOS uses co-operative multi-tasking, not pre-emptive, so your tasks have
to specifically relinquish control before any other task will be scheduled.
Someone please correct me if I'm wrong....

Actually legOS multitasking is preemptive :-)

bye
Bernardo



Message has 1 Reply:
  Re: multiple "execi" with different priorities
 
(...) have (...) Yes, I actually went & checked after I'd posted. Maybe I should've checked before 8?) Anyway, Stig Nielsson emailed me the following, which explains it a lot better, and will probably be useful for Thanasis to work out the original (...) (24 years ago, 23-Feb-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: multiple "execi" with different priorities
 
(...) of (...) The call looks fine, but as Bernado said, you have to make sure that higher priority tasks relinquish control regularly. IIRC all tasks of a given priority must get a slice before any lower priority tasks get any slice. And remember (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.legos)

5 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR