1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00

(Signals): Note signal handlers run via system async and

can hence be delayed quite a while.  Struck by William Xu.
This commit is contained in:
Kevin Ryde 2007-01-24 22:54:56 +00:00
parent 31854a2b96
commit 019618da74

View file

@ -1836,7 +1836,13 @@ specified processes.
@subsection Signals
@cindex signal
Procedures to raise, handle and wait for signals.
The following procedures raise, handle and wait for signals.
Scheme code signal handlers are run via a system async (@pxref{System
asyncs}), so they're called in the handler's thread at the next safe
opportunity. Generally this is after any currently executing
primitive procedure finishes (which could be a long time for
primitives that wait for an external event).
@deffn {Scheme Procedure} kill pid sig
@deffnx {C Function} scm_kill (pid, sig)