Re: multitasker.fs question
Samuel Tardieu <[email protected]> 06 Dec 2004 16:30:11 +0100
| Newsgroups | gmane.comp.lang.forth.picforth |
|---|---|
| Organization | Avian Carrier & Friends |
| Message-ID | <[email protected]> |
>>>>> "David" == David McNab <[email protected]> writes: David> In other words, would I crap on the return stack if task 'fred' David> calls word 'mary', and 'mary' sits in a loop periodically David> executing a 'yield'? David> If this is the case (I expect it would be), then it might be David> worth a mention in the doco. I don't remember whether I answered this post or not, but this is now part of the documentation. In fact, one (and only one) of the tasks may call yield from within a subroutine. But this is not recommended. Sam -- Samuel Tardieu -- [email protected] -- http://www.rfc1149.net/sam