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 / 1075
1074  |  1076
Subject: 
Re: Very strange problems
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 21 May 2000 19:42:05 GMT
Viewed: 
1474 times
  
On Sun, 21 May 2000, Michael J Ash wrote:
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.

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 with an aching in my heart.
               Someone told me there's a girl out there
            with love in her eyes and flowers in her hair."
-Led Zeppelin, "Going to California"

-----------------------------------------------------------------------



Message has 1 Reply:
  Re: Very strange problems
 
(...) Ah, that's all right, happens to the best of us. :) I'll go back to my happy little preemptive world. -- "Our doubts are traitors, and make us lose the good we oft might win by fearing to attempt." - William Shakespeare Mike Ash - (URL), (...) (25 years ago, 21-May-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: Very strange problems
 
(...) 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 (...) (25 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