Am Freitag, 12. Dezember 2014, 13:26:49 schrieb Jerry DeLisle:
> The one example use of tasker.fs I have found does not work.
> 
> Can anyone point me to or provide a working example.
> 
> Regards,
> 
> Jerry

$1000 newtask constant test-task
: .x 10 0 do i . loop ;
: test test-task activate .x ;

Tried it:

test .x 00  11  22  33  44  55  66  77  88  99   ok

This also works with the unix/pthread.fs tasker (same API), but tasker.fs is 
cooperative, unix/pthread.fs is using pthreads.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/


Reply via email to