To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 299
  Multitasking
 
Does the prompt handler (CLI) do multitasking? In otherwords if a new task is started and control returns to the CLI will the new task ever run? I think I am asking whether it calls PAUSE in a loop while waiting for user input? (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Multitasking
 
(...) Yes, indeed it does. But the catch is that if you're NOT in the CLI and spinning on something, you don't get anything else done (DUH!) Steve, you sound like you know multitasking issues. Sorry if what I said in a previous post implied (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
 
  Multitasking questions
 
1) scripts/muldemo.txt uses the word HAT instead of ALLOT_TASK. Does HAT actually exist or is this left over from hforth. 2) Tasking by convention? When do tasks switch? PAUSE obviously. Does AWAKE actually context switch or only mark the task as (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Multitasking
 
(...) 90% of my career has been in embedded systems and now I am doing ASIC design. ASICs are the ultimate in multitasking. Every one of those gazillions of transistors looks at its input continuously in parallel with the others in order to decide (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Multitasking questions
 
(...) Ummm, I'm in the process of verifying all of the old scripts I package with pbForth. It looks like HAT is what actually works, and I've managed to change the documentation and not the code. HAT is in the origianl hForth implementation but I (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
 
  Banging on the tasker
 
(...) That's my plan. The nice thing about the tasker is that people can write code in a format they are more used to. The same things can be done with event driven single task code but it inverts the control flow. It is more meaningful for most (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)

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