diff options
author | Lukas Larsson <[email protected]> | 2013-09-30 15:06:57 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-02-24 15:15:57 +0100 |
commit | 3a4bdad8b488a6e7a4a18a95573059d5a21589c8 (patch) | |
tree | 8c89ecfe4f305268194d67ac9ed24fbbff34a4e1 /erts/emulator/sys/ose/erl_poll.c | |
parent | e6c7086e6befb3eb9e8ad4fb7de62f1ee810508c (diff) | |
download | otp-3a4bdad8b488a6e7a4a18a95573059d5a21589c8.tar.gz otp-3a4bdad8b488a6e7a4a18a95573059d5a21589c8.tar.bz2 otp-3a4bdad8b488a6e7a4a18a95573059d5a21589c8.zip |
ose: Extract signal numbers to common file
Diffstat (limited to 'erts/emulator/sys/ose/erl_poll.c')
-rw-r--r-- | erts/emulator/sys/ose/erl_poll.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/sys/ose/erl_poll.c b/erts/emulator/sys/ose/erl_poll.c index 878bd362e4..0bea6865ca 100644 --- a/erts/emulator/sys/ose/erl_poll.c +++ b/erts/emulator/sys/ose/erl_poll.c @@ -68,8 +68,6 @@ # define SEL_REALLOC realloc_wrap # define SEL_FREE erts_free -#define ERTS_POLL_INVALID_SIGNO 12345 - #ifdef ERTS_SMP #define ERTS_POLLSET_LOCK(PS) \ @@ -308,7 +306,7 @@ static int update_sigsel(ErtsPollSet ps) { */ ps->sigs = SEL_ALLOC(ERTS_ALC_T_POLLSET,sizeof(SIGSELECT)*(2)); ps->sigs[0] = 1; - ps->sigs[1] = ERTS_POLL_INVALID_SIGNO; + ps->sigs[1] = ERTS_SIGNAL_INVALID; return 0; } |