aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/unix/erl_unix_sys.h
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2015-08-26 14:43:20 +0200
committerLukas Larsson <[email protected]>2015-12-15 10:05:44 +0100
commit6089f3c961a981b6bacb6c1590386bb67905ff23 (patch)
treee3c35c570ea10fd225f43221069cd08eb64d5aea /erts/emulator/sys/unix/erl_unix_sys.h
parentfdc2ce62a041d34cd99413e278e7dd8ff79832d1 (diff)
downloadotp-6089f3c961a981b6bacb6c1590386bb67905ff23.tar.gz
otp-6089f3c961a981b6bacb6c1590386bb67905ff23.tar.bz2
otp-6089f3c961a981b6bacb6c1590386bb67905ff23.zip
erts: Move sys drivers to another file
Diffstat (limited to 'erts/emulator/sys/unix/erl_unix_sys.h')
-rw-r--r--erts/emulator/sys/unix/erl_unix_sys.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/erts/emulator/sys/unix/erl_unix_sys.h b/erts/emulator/sys/unix/erl_unix_sys.h
index 8d4e98bf3a..a11a44c259 100644
--- a/erts/emulator/sys/unix/erl_unix_sys.h
+++ b/erts/emulator/sys/unix/erl_unix_sys.h
@@ -470,4 +470,20 @@ extern jmp_buf erts_sys_sigsegv_jmp;
} while(0)
#endif
+#ifdef USE_THREADS
+# ifdef ENABLE_CHILD_WAITER_THREAD
+# define CHLDWTHR ENABLE_CHILD_WAITER_THREAD
+# else
+# define CHLDWTHR 0
+# endif
+# define FDBLOCK 1
+#else
+# define CHLDWTHR 0
+# define FDBLOCK 0
+#endif
+
+#define ERTS_SYS_SUSPEND_SIGNAL SIGUSR2
+
+int check_children(void);
+
#endif /* #ifndef _ERL_UNIX_SYS_H */