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 / 414
413  |  415
Subject: 
Re: LegOS 0.2.0a multi-threading problem
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 27 Oct 1999 15:04:04 GMT
Viewed: 
894 times
  
"Markus L. Noga" <markus@noga.de> writes:

could you report about the stability of repeated program runs? if this
works fine, I'll change the ON/OFF behaviour to conserve loaded programs
in memory.

That would be nice, actually.  I have only one problem with stability -
every once in a while, the "Run" key stops working, and all the other keys
as well (don't remember exactly, but I think that's how it is).  The
program keeps running however, but the only way to stop it is to remove the
batteries, which is quite annoying.  It's possible that it happens after
ON/OFF is pressed while a program runs, but I'm not sure.
--
Regards,
Modemch



Message has 1 Reply:
  Re: LegOS 0.2.0a multi-threading problem
 
(...) Following up to myself, but here's the error (kernel/program/.c) lines 255-260: case KEY_ONOFF: // works only if no programs are running. if(nb_tasks<=3) { killall(PRIO_HIGHEST); } return 0; ^^^^ This should be 'break'. The way the code is (...) (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: LegOS 0.2.0a multi-threading problem
 
Hi, yes, currently, you'll have to make main() your first function. version 0.2.1 will support arbitrary starting offsets. could you report about the stability of repeated program runs? if this works fine, I'll change the ON/OFF behaviour to (...) (25 years ago, 26-Oct-99, 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