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 / 1074
1073  |  1075
Subject: 
Re: Very strange problems
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 21 May 2000 19:33:19 GMT
Viewed: 
1294 times
  
On Sun, 21 May 2000, Luis Villa wrote:

Just that it is not pre-emptive. If you don't msleep() at the appropriate
places in your code, you'll never go back to the scheduler or the other
threads. This can come as a surprise, since you'll only notice it when
one thread never executes.
Luis

Ack! I knew that it was cooperative in the 0.1.x series, but I had thought
it was preemptive in 0.2.x. Drat. Well, I don't think it's a major problem
for me, since I call msleep() religiously, but it's something to look
into. Thanks.

--
"Our doubts are traitors, and make us lose the good we oft might win by
fearing to attempt." - William Shakespeare

Mike Ash - <http://www.mikeash.com/>, <mailto:mail@mikeash.com>



Message has 1 Reply:
  Re: Very strange problems
 
(...) I have not done large-scale "production" work with 0.2.x, really, so I may be vastly incorrect. Ah-hah. The legOS homepage (at least) indicates that you are correct. My fault for scaring people... sorry. Luis ---...--- "Going to California (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: Very strange problems
 
(...) Just that it is not pre-emptive. If you don't msleep() at the appropriate places in your code, you'll never go back to the scheduler or the other threads. This can come as a surprise, since you'll only notice it when one thread never executes. (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)

20 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