--- gforth/tasker.fs 1997/07/06 14:42:14 1.5 +++ gforth/tasker.fs 2000/09/23 15:46:59 1.8 @@ -1,6 +1,6 @@ \ Multitasker 19aug94py -\ Copyright (C) 1995-1997 Free Software Foundation, Inc. +\ Copyright (C) 1995,1996,1997 Free Software Foundation, Inc. \ This file is part of Gforth. @@ -16,7 +16,7 @@ \ You should have received a copy of the GNU General Public License \ along with this program; if not, write to the Free Software -\ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +\ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. Create sleepers sleepers A, sleepers A, 0 , @@ -41,10 +41,9 @@ Create sleepers sleepers A, sleepers A, lp! fp! rp! prev-task @ sleep ; \ USER' computes the task offset -: user' ( 'user' -- n ) - ' >body @ postpone literal ; immediate -interpretation: - ' >body @ ; +:noname ' >body @ ; +:noname ' >body @ postpone literal ; +interpret/compile: user' ( 'user' -- n ) \ NEWTASK creates a new, sleeping task : NewTask ( n -- Task ) dup 2* 2* udp @ + dup