summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-07-17 12:55:17 +0200
committerSven Eden <yamakuzure@gmx.net>2017-07-17 17:58:36 +0200
commit8663dfee3cb8d22899105729180d446cb48cfc5c (patch)
treed4dd3d426bd167824dc9f84fadaa5753dfbc4aa9 /CODING_STYLE
parente7082c89f1eac3ee251e659ee004f4d29fc284a6 (diff)
Prep v233: Update root build files to upstream version
Diffstat (limited to 'CODING_STYLE')
-rw-r--r--CODING_STYLE5
1 files changed, 5 insertions, 0 deletions
diff --git a/CODING_STYLE b/CODING_STYLE
index e89b3c67e..ed61ea9d2 100644
--- a/CODING_STYLE
+++ b/CODING_STYLE
@@ -429,3 +429,8 @@
and Linux/GNU-specific APIs, we generally prefer the POSIX APIs. If there
aren't, we are happy to use GNU or Linux APIs, and expect non-GNU
implementations of libc to catch up with glibc.
+
+- Whenever installing a signal handler, make sure to set SA_RESTART for it, so
+ that interrupted system calls are automatically restarted, and we minimize
+ hassles with handling EINTR (in particular as EINTR handling is pretty broken
+ on Linux).