To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 970
  Re: Q: Multitasking, and reacting to sensors
 
(...) Sorry Juergen, but that's not quite right. You can start and stop tasks as often as you wish to do. like this int do_s_s = 0; int condition = 0; task main() { while (1) { if (condition && !do_s_s) { start do_something_special; do_s_s = 1; } if (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Q: Multitasking, and reacting to sensors
 
(...) Ok, I have to admit that I was wrong. But I think most of the time it is the easiest solution to start all the tasks at the beginning and have them run in parallel. And if you want to perform some single action within a task use a (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Q: Multitasking, and reacting to sensors
 
(...) I agree with you here ! no question. Rainer (24 years ago, 7-Feb-01, to lugnet.robotics.rcx.nqc)

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