From: Chris Hanson Date: Wed, 24 Feb 1999 05:18:12 +0000 (+0000) Subject: Save "block-thread-events" flag in continuations. This guarantees X-Git-Tag: 20090517-FFI~4605 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=ed0e9f4ec55bb039299b97fe303f9069e17cb93c;p=mit-scheme.git Save "block-thread-events" flag in continuations. This guarantees that it will be properly stored no matter where the continuation is captured. --- 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)