aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/ose
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-09-30 15:07:49 +0200
committerLukas Larsson <[email protected]>2014-02-24 15:15:58 +0100
commitfa3dd14716b2a7ad0c223ebacd2ffc6ecf6437e6 (patch)
tree9e01ad087ca43085f2b7efb80bf5f203d27124eb /erts/emulator/sys/ose
parent8ed59e4a9dddf083d2046e1bd58f397221928c0e (diff)
downloadotp-fa3dd14716b2a7ad0c223ebacd2ffc6ecf6437e6.tar.gz
otp-fa3dd14716b2a7ad0c223ebacd2ffc6ecf6437e6.tar.bz2
otp-fa3dd14716b2a7ad0c223ebacd2ffc6ecf6437e6.zip
ose: Add module that allows interaction with any OSE process
The interface of this module is made to be as generic as possible in order for other IPC mechanisms to mimic it and allow porting of code between different os:es.
Diffstat (limited to 'erts/emulator/sys/ose')
-rw-r--r--erts/emulator/sys/ose/erl_poll.c2
-rw-r--r--erts/emulator/sys/ose/erts.sig2
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/sys/ose/erl_poll.c b/erts/emulator/sys/ose/erl_poll.c
index 0bea6865ca..b1e256afc3 100644
--- a/erts/emulator/sys/ose/erl_poll.c
+++ b/erts/emulator/sys/ose/erl_poll.c
@@ -275,7 +275,6 @@ static void update_redir_tables(ErtsPollSet ps) {
redir_table[0].pid = 0;
for (i = 1; i < ps->sig_count+1; i++) {
- ramlog_printf("Adding 0x%p -> 0x%p to redir table\n",ps->sigs[i],sched_1);
redir_table[i].sig = ps->sigs[i];
redir_table[i].pid = sched_1;
}
@@ -283,7 +282,6 @@ static void update_redir_tables(ErtsPollSet ps) {
for (i = 1; i < erts_no_schedulers; i++) {
ErtsSchedulerData *esdp = ERTS_SCHEDULER_IX(i);
set_redirection(esdp->tid.id,redir_table);
- ramlog_printf("Setting redir table to 0x%p\n",esdp->tid.id);
}
SEL_FREE(ERTS_ALC_T_POLLSET,redir_table);
diff --git a/erts/emulator/sys/ose/erts.sig b/erts/emulator/sys/ose/erts.sig
index 760d0896c0..4bd2056cb0 100644
--- a/erts/emulator/sys/ose/erts.sig
+++ b/erts/emulator/sys/ose/erts.sig
@@ -8,5 +8,7 @@
#define ERTS_SIGNAL_INVALID ERTS_OSE_SIGNAL_BASE
#define ERTS_SIGNAL_FD_DRV_CONFIG ERTS_OSE_SIGNAL_BASE+1
#define ERTS_SIGNAL_FD_DRV_ASYNC ERTS_OSE_SIGNAL_BASE+2
+#define ERTS_SIGNAL_OSE_DRV_ATTACH ERTS_OSE_SIGNAL_BASE+3
+#define ERTS_SIGNAL_OSE_DRV_HUNT ERTS_OSE_SIGNAL_BASE+4
#endif