From ed0e9f4ec55bb039299b97fe303f9069e17cb93c Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 24 Feb 1999 05:18:12 +0000 Subject: [PATCH] Save "block-thread-events" flag in continuations. This guarantees that it will be properly stored no matter where the continuation is captured. --- v7/src/runtime/thread.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v7/src/runtime/thread.scm b/v7/src/runtime/thread.scm index ef2e68182..4c0bc38d0 100644 --- a/v7/src/runtime/thread.scm +++ b/v7/src/runtime/thread.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: thread.scm,v 1.29 1999/02/24 04:53:43 cph Exp $ +$Id: thread.scm,v 1.30 1999/02/24 05:18:12 cph Exp $ Copyright (c) 1991-1999 Massachusetts Institute of Technology @@ -243,6 +243,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (call-with-current-continuation (lambda (continuation) (set-thread/continuation! thread continuation) + (set-thread/block-events?! thread #f) (thread-not-running thread 'WAITING))))))))) (define (stop-current-thread) -- 2.25.1