| | Multitasking Steven J. Morris
|
| | 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? (25 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
|
| | |
| | | | RE: Multitasking Ralph Hempel
|
| | | | (...) 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 (...) (25 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
|
| | | | |
| | | | | | Re: Multitasking Steven J. Morris
|
| | | | | (...) 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 (...) (25 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
|
| | | | | |
| | | | Multitasking questions Steven J. Morris
|
| | | | 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 (...) (25 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
|
| | | | |
| | | | | | RE: Multitasking questions Ralph Hempel
|
| | | | (...) 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 (...) (25 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
|
| | | | |
| | | | | | Banging on the tasker Steven J. Morris
|
| | | | (...) 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 (...) (25 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
|
| | | | |