From 8466d8cfa486fb30d1755c4261b781135083787b Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Feb 2017 00:05:29 -0800 Subject: Import Upstream version 3a1 --- process.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'process.scm') 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) -- cgit v1.2.3