more fixes to concurrency 'self' support
parent
2fad8cc734
commit
ec92233637
|
@ -161,7 +161,7 @@ TUPLE: process node links pid mailbox ;
|
||||||
: self ( -- process )
|
: self ( -- process )
|
||||||
#! Returns the contents of the 'self-process' variables which
|
#! Returns the contents of the 'self-process' variables which
|
||||||
#! is the process object for the current process.
|
#! is the process object for the current process.
|
||||||
\ self get-global ;
|
\ self get ;
|
||||||
|
|
||||||
: init-main-process ( -- )
|
: init-main-process ( -- )
|
||||||
#! Setup the main process.
|
#! Setup the main process.
|
||||||
|
@ -173,7 +173,7 @@ init-main-process
|
||||||
#! Calls the quotation with 'self' set
|
#! Calls the quotation with 'self' set
|
||||||
#! to the given process.
|
#! to the given process.
|
||||||
[
|
[
|
||||||
\ self set-global
|
\ self set
|
||||||
] make-hash
|
] make-hash
|
||||||
swap bind ;
|
swap bind ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue