Re: Sbcl-help Digest, Vol 207, Issue 5: unix signals

steve gonedes <[email protected]>
Newsgroups gmane.lisp.steel-bank.general
Message-ID <[email protected]>

> Today's Topics:
>
>     1. capturing system shutdown signals? (Jeff Cunningham)
>     2. Re: capturing system shutdown signals? (Stas Boukarev)
>     3. Re: capturing system shutdown signals? (Nathan Van Ymeren)
>     4. Re: capturing system shutdown signals? (Stas Boukarev)
>

yes there is a very simple way. it is in sys:src/code/signal.lisp

sb-unix:without-interrupts


(require :sb-posix)

(require :sb-unix)

sbcl> (apropos "without-in")
:ALREADY-WITHOUT-INTERRUPTS = :ALREADY-WITHOUT-INTERRUPTS
SB-THREAD::ALREADY-WITHOUT-INTERRUPTS
WITHOUT-INTERRUPTS (fbound)
; No value

SB-UNIX>



in the future I would love to see this in the sb-posix package. this one 
is burried, but it should do what you want.

_______________________________________________
Sbcl-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.