diff options
author | Lukas Larsson <[email protected]> | 2015-08-26 14:43:20 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2015-12-15 10:05:44 +0100 |
commit | 6089f3c961a981b6bacb6c1590386bb67905ff23 (patch) | |
tree | e3c35c570ea10fd225f43221069cd08eb64d5aea /erts/emulator/sys/unix/erl_unix_sys.h | |
parent | fdc2ce62a041d34cd99413e278e7dd8ff79832d1 (diff) | |
download | otp-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.h | 16 |
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 */ |