[PicForth] Re: multitasker.fs question

Samuel Tardieu sam at rfc1149.net
Mon Dec 6 16:30:11 CET 2004


>>>>> "David" == David McNab <david at rebirthing.co.nz> 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 -- sam at rfc1149.net -- http://www.rfc1149.net/sam



More information about the PicForth mailing list