diff options
author | Adrian Mangeac <[email protected]> | 2014-03-03 11:18:52 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-03-23 22:06:54 +0100 |
commit | 483161dd3e05d5d4285bae90ac625e761c7b8214 (patch) | |
tree | 6dea4a3f9a8ff0e2d08a58bba90f1d4485df0345 /erts/emulator/sys/ose/sys.c | |
parent | a74e66a68f3b4ed590f928b4fd4f0808c6287a32 (diff) | |
download | otp-483161dd3e05d5d4285bae90ac625e761c7b8214.tar.gz otp-483161dd3e05d5d4285bae90ac625e761c7b8214.tar.bz2 otp-483161dd3e05d5d4285bae90ac625e761c7b8214.zip |
ose: Restore the owner of the signal
As any scheduler process can consume any message we have
to make sure that the message is owned by the scheduler
before returning it in erl_drv_ose_get_signal.
Diffstat (limited to 'erts/emulator/sys/ose/sys.c')
-rw-r--r-- | erts/emulator/sys/ose/sys.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/sys/ose/sys.c b/erts/emulator/sys/ose/sys.c index c892cc69c7..e3041ff1ca 100644 --- a/erts/emulator/sys/ose/sys.c +++ b/erts/emulator/sys/ose/sys.c @@ -213,7 +213,6 @@ static volatile int children_died; /* When we have several schedulers, we need to make sure * that scheduler issuing aio_dispatch() is the owner on the signal */ #define DISPATCH_AIO(sig) do { \ - restore(sig); \ aio_dispatch(sig); \ } while(0) |