Re: Re: multitasker.fs question
David McNab <[email protected]> Mon, 06 Dec 2004 19:43:34 +1300
| Newsgroups | gmane.comp.lang.forth.picforth |
|---|---|
| Message-ID | <[email protected]> |
Samuel Tardieu wrote: > I've made a quick change to multitasker.fs. You can redefine > thread-stack-size (in meta mode, as documented) after including > multitasker.fs and before defining the first task. > I haven't tried it though. Please try it from my Darcs repository. Ok, I'm in the process of building some test progs. Just one question - given that the return stack on PIC16F chips is totally non-addressible, does this mean that 'yield' instructions may only occur in the very top level of each task? In other words, would I crap on the return stack if task 'fred' calls word 'mary', and 'mary' sits in a loop periodically executing a 'yield'? If this is the case (I expect it would be), then it might be worth a mention in the doco. -- Cheers David