summaryrefslogtreecommitdiffstats
path: root/process.scm
diff options
context:
space:
mode:
Diffstat (limited to 'process.scm')
-rw-r--r--process.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/process.scm b/process.scm
index bdd7969..d691aa6 100644
--- a/process.scm
+++ b/process.scm
@@ -8,7 +8,7 @@
;1. Any copy made of this software must include this copyright notice
;in full.
;
-;2. I have made no warrantee or representation that the operation of
+;2. I have made no warranty or representation that the operation of
;this software will be error-free, and I am under no obligation to
;provide any services, by way of maintenance, update, or otherwise.
;
@@ -20,13 +20,14 @@
(require 'full-continuation)
(require 'queue)
+;@
(define (add-process! thunk1)
(cond ((procedure? thunk1)
(defer-ints)
(enqueue! process:queue thunk1)
(allow-ints))
(else (slib:error "add-process!: wrong type argument " thunk1))))
-
+;@
(define (process:schedule!)
(defer-ints)
(cond ((queue-empty? process:queue) (allow-ints)
@@ -38,7 +39,7 @@
(allow-ints)
(proc 'run))
(kill-process!))))))
-
+;@
(define (kill-process!)
(defer-ints)
(cond ((queue-empty? process:queue) (allow-ints)