Fix tasks ordering bug.
This commit is contained in:
@ -124,8 +124,9 @@ $(GEN):
|
||||
POSIX_BOOT = common/boot.fs common/conditionals.fs common/vocabulary.fs \
|
||||
common/hide_calls.fs common/ansi.fs \
|
||||
posix/posix.fs posix/posix_highlevel.fs posix/termios.fs common/locals.fs \
|
||||
common/utils.fs common/highlevel.fs common/filetools.fs posix/posix_desktop.fs \
|
||||
common/tasks.fs common/streams.fs common/blocks.fs posix/telnetd.fs \
|
||||
common/tasks.fs common/utils.fs common/highlevel.fs common/filetools.fs \
|
||||
posix/posix_desktop.fs \
|
||||
common/streams.fs common/blocks.fs posix/telnetd.fs \
|
||||
posix/autoboot.fs \
|
||||
common/fini.fs
|
||||
$(GEN)/posix_boot.h: common/source_to_string.js $(POSIX_BOOT) | $(GEN)
|
||||
@ -134,7 +135,7 @@ $(GEN)/posix_boot.h: common/source_to_string.js $(POSIX_BOOT) | $(GEN)
|
||||
WINDOWS_BOOT = common/boot.fs common/conditionals.fs common/vocabulary.fs \
|
||||
common/hide_calls.fs common/ansi.fs \
|
||||
windows/windows.fs windows/windows_highlevel.fs common/highlevel.fs \
|
||||
common/utils.fs common/filetools.fs common/tasks.fs common/streams.fs \
|
||||
common/tasks.fs common/utils.fs common/filetools.fs common/streams.fs \
|
||||
common/blocks.fs common/locals.fs \
|
||||
common/fini.fs
|
||||
$(GEN)/windows_boot.h: common/source_to_string.js $(WINDOWS_BOOT) | $(GEN)
|
||||
|
||||
@ -31,8 +31,6 @@ forth definitions tasks also internals
|
||||
then
|
||||
;
|
||||
|
||||
: .tasks task-list @ begin dup 2 cells - see. @ dup task-list @ = until drop ;
|
||||
|
||||
DEFINED? ms-ticks [IF]
|
||||
: ms ( n -- ) ms-ticks >r begin pause ms-ticks r@ - over >= until rdrop drop ;
|
||||
[THEN]
|
||||
|
||||
@ -59,3 +59,8 @@ forth definitions also internals
|
||||
: vlist 0 context @ @ begin dup >name-length while onlines dup see. >link repeat 2drop cr ;
|
||||
: words 0 context @ @ begin dup while onlines dup see. >link repeat 2drop cr ;
|
||||
only forth definitions
|
||||
|
||||
( Extra Task Utils )
|
||||
tasks definitions also internals
|
||||
: .tasks task-list @ begin dup 2 cells - see. @ dup task-list @ = until drop ;
|
||||
only forth definitions
|
||||
|
||||
Reference in New Issue
Block a user