Make SPOON an alias for FORK-THREAD.
This commit is contained in:
parent
68072b171f
commit
57463ce596
|
@ -230,6 +230,10 @@ is similar to what happens at process forking.
|
||||||
to another.
|
to another.
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
|
\defun{spoon} {thunk} \undefined
|
||||||
|
|
||||||
|
This is just an alias for \ex{fork-thread} suggested by Alan Bawden.
|
||||||
|
|
||||||
For user and group identities arbitrary changing is not possible.
|
For user and group identities arbitrary changing is not possible.
|
||||||
Therefore they remain global process state: If a thread changes one of
|
Therefore they remain global process state: If a thread changes one of
|
||||||
these values, all other threads see the new value. Consequently, scsh
|
these values, all other threads see the new value. Consequently, scsh
|
||||||
|
|
|
@ -69,3 +69,5 @@
|
||||||
|
|
||||||
(define (fork-thread thunk . rest)
|
(define (fork-thread thunk . rest)
|
||||||
(apply spawn (preserve-thread-fluids thunk) rest))
|
(apply spawn (preserve-thread-fluids thunk) rest))
|
||||||
|
|
||||||
|
(define spoon fork-thread)
|
||||||
|
|
|
@ -352,7 +352,8 @@
|
||||||
set-thread-fluid!
|
set-thread-fluid!
|
||||||
make-preserved-thread-fluid
|
make-preserved-thread-fluid
|
||||||
preserve-thread-fluids
|
preserve-thread-fluids
|
||||||
fork-thread))
|
fork-thread
|
||||||
|
spoon))
|
||||||
|
|
||||||
(define-interface search-trees-interface
|
(define-interface search-trees-interface
|
||||||
(export make-search-tree
|
(export make-search-tree
|
||||||
|
|
Loading…
Reference in New Issue