[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gforth] Working example of tasker.fs use
From: |
Bernd Paysan |
Subject: |
Re: [gforth] Working example of tasker.fs use |
Date: |
Fri, 12 Dec 2014 23:47:14 +0100 |
User-agent: |
KMail/4.14.3 (Linux/3.16.6-2-desktop; KDE/4.14.3; x86_64; ; ) |
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/
- [gforth] Working example of tasker.fs use, Jerry DeLisle, 2014/12/12
- Re: [gforth] Working example of tasker.fs use,
Bernd Paysan <=
- Re: [gforth] Working example of tasker.fs use, Jerry DeLisle, 2014/12/12
- Re: [gforth] Working example of tasker.fs use, Bernd Paysan, 2014/12/13
- Re: [gforth] Working example of tasker.fs use, Jerry DeLisle, 2014/12/13
- Re: [gforth] Working example of tasker.fs use, Anton Ertl, 2014/12/15
- Re: [gforth] Working example of tasker.fs use, Bernd Paysan, 2014/12/15
- Re: [gforth] Working example of tasker.fs use, Anton Ertl, 2014/12/16
- Re: [gforth] Working example of tasker.fs use, Bernd Paysan, 2014/12/16
- Re: [gforth] Working example of tasker.fs use, Andrew Haley, 2014/12/16