aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-03-23 22:50:10 +0100
committerLukas Larsson <[email protected]>2014-03-26 15:18:59 +0100
commit09c1cbf863864a5740f7c13c136b1164aac70469 (patch)
treedfbb043daac058da068c66b87f5e046facf79fa1 /erts/emulator
parent38db84be84daefe80806e6a4c06d3ed8c6c8db31 (diff)
downloadotp-09c1cbf863864a5740f7c13c136b1164aac70469.tar.gz
otp-09c1cbf863864a5740f7c13c136b1164aac70469.tar.bz2
otp-09c1cbf863864a5740f7c13c136b1164aac70469.zip
ose: Fix bug when hunting for signal proxy
Sometimes the wrong signal, i.e. a read reply, would be received from this non-selective receive.
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/sys/ose/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/ose/sys.c b/erts/emulator/sys/ose/sys.c
index aaf515876f..d58e90b352 100644
--- a/erts/emulator/sys/ose/sys.c
+++ b/erts/emulator/sys/ose/sys.c
@@ -713,7 +713,7 @@ static void stop_select(ErlDrvEvent, void*);
static PROCESS
get_signal_proxy_pid(void) {
union SIGNAL *sig;
- SIGSELECT any_sig[] = {0};
+ SIGSELECT any_sig[] = {1,ERTS_SIGNAL_OSE_DRV_ATTACH};
if (!sig_proxy_pid) {
sig = alloc(sizeof(union SIGNAL), ERTS_SIGNAL_OSE_DRV_ATTACH);