>Try running the simple reproduction included below. Try typing ^C
(Ctrl+C) soon after the program begins. Sometimes "WORK" is run
once, and sometimes "WORK" is run twice. What do I need to do to make
"WORK" run only once in this instance?
>(define quit? #f)
>(sigaction SIGINT (lambda (arg)
>
Sent from Mail for Windows
From: Vijay Marupudi
Sent: Saturday, 13 April 2024 22:24
To: Olivier Dion; guile-user@gnu.org
Subject: Re: Question about handling SIGINT properly in Guile
> So there is two things with signals. First, when a process get a signal
> queued, the OS only deliver the
i tried this, that works in some case:
;; scheme@(guile-user)> (defined-symbol? d)
;; ;;; :20:17: warning: possibly unbound variable `d'
;; $3 = #f
(define-syntax defined-symbol?
(syntax-rules ()
((_ x) (call-with-current-continuation
(lambda (exit)
(with-exception-handler