Diff for /gforth/tasker.fs between versions 1.5 and 1.8

version 1.5, 1997/07/06 14:42:14 version 1.8, 2000/09/23 15:46:59
Line 1 Line 1
 \ Multitasker                                          19aug94py  \ 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.  \ This file is part of Gforth.
   
Line 16 Line 16
   
 \ You should have received a copy of the GNU General Public License  \ You should have received a copy of the GNU General Public License
 \ along with this program; if not, write to the Free Software  \ 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 ,  Create sleepers  sleepers A, sleepers A, 0 ,
   
Line 41  Create sleepers  sleepers A, sleepers A, Line 41  Create sleepers  sleepers A, sleepers A,
   lp! fp! rp! prev-task @ sleep ;    lp! fp! rp! prev-task @ sleep ;
   
 \ USER' computes the task offset  \ USER' computes the task offset
 : user' ( 'user' -- n )  :noname    ' >body @ ;
     ' >body @ postpone literal ; immediate  :noname    ' >body @ postpone literal ; 
 interpretation:  interpret/compile: user' ( 'user' -- n )
     ' >body @ ;  
   
 \ NEWTASK creates a new, sleeping task  \ NEWTASK creates a new, sleeping task
 : NewTask ( n -- Task )  dup 2* 2* udp @ + dup  : NewTask ( n -- Task )  dup 2* 2* udp @ + dup

Removed from v.1.5  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>