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:
parent
31854a2b96
commit
019618da74
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue