summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-12-13 08:13:49 -0800
committerKaz Kylheku <kaz@kylheku.com>2013-12-13 08:13:49 -0800
commit1964bb94f82d3d81eec3d5797fe875741a9a8182 (patch)
tree445c44f7caf3e3ced5d9dd46e89db6c9a75ca802 /ChangeLog
parenta846f5e378a1c03ae122c711308899bbe381a7f1 (diff)
downloadtxr-1964bb94f82d3d81eec3d5797fe875741a9a8182.tar.gz
txr-1964bb94f82d3d81eec3d5797fe875741a9a8182.tar.bz2
txr-1964bb94f82d3d81eec3d5797fe875741a9a8182.zip
* signal.c (sig_handler): Pass two arguments to signal
handler rather than 1. The new argument is the value t, telling the handler that it's asynchronously invoked in a real signal context. If the signal handler returns true, then mark it deferred so that it can re-trigger in a synchronous context. (sig_check): Pass nil as a the second argument to signal handlers, indicating that they are synchronously called, not in a signal handler context. * txr.1: Added documentation.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d87676a..07f901d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
2013-12-13 Kaz Kylheku <kaz@kylheku.com>
+ * signal.c (sig_handler): Pass two arguments to signal
+ handler rather than 1. The new argument is the value t,
+ telling the handler that it's asynchronously invoked in
+ a real signal context. If the signal handler returns
+ true, then mark it deferred so that it can re-trigger
+ in a synchronous context.
+ (sig_check): Pass nil as a the second argument to signal handlers,
+ indicating that they are synchronously called, not
+ in a signal handler context.
+
+ * txr.1: Added documentation.
+
+2013-12-13 Kaz Kylheku <kaz@kylheku.com>
+
* signal.c (set_sig_handler): Disable signals around this
function because it manipulates the mask of deferred
signals which can also be manipulated by an async signal.