Hello Jan,

the example was done in some version of AmForth.
Later Matthias has changed the name from tid to tcb (task
control block, probably).

So, yes your observation is correct, and you found the correct
solution!

Cheers,
Erich

Jan Kromhout via Amforth-devel writes:

> Hello,
>
> When I look to the example of multitasking I think something is wrong. This 
> is the code at amforth.sourceforge.net <http://amforth.sourceforge.net/>:
>
> : starttasker
>   task_demo task-init
>   \ create TCB in RAM
>   start-demo
>   \ activate tasks job
>   onlytask
>   task_demo tcb>tid alsotask
>   multi
> ;
>
> I think this is the right one
>
> : starttasker
>   task_demo task-init
>   \ create TCB in RAM
>   start-demo
>   \ activate tasks job
>   onlytask
>   task_demo tib>tcb alsotask  \ <===============
>   multi
> ;
>
>
> Cheers
> Jan
>
>
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


-- 
May the Forth be with you ...


_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to