mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-03 21:30:29 +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
|
@subsection Signals
|
||||||
@cindex signal
|
@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
|
@deffn {Scheme Procedure} kill pid sig
|
||||||
@deffnx {C Function} scm_kill (pid, sig)
|
@deffnx {C Function} scm_kill (pid, sig)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue