diff options
author | Rickard Green <[email protected]> | 2013-11-28 15:10:35 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-11-28 15:10:35 +0100 |
commit | 23a30d882464df4210ea53096ea50e7b44876812 (patch) | |
tree | efbc5e97dc55e63b6e194921007f88e651960764 /erts/emulator/beam/io.c | |
parent | 8bc2bac6b60724c2b454bf572ab13146a7154b2f (diff) | |
parent | 9f998969014095333545cb118467e1ff8d450c31 (diff) | |
download | otp-23a30d882464df4210ea53096ea50e7b44876812.tar.gz otp-23a30d882464df4210ea53096ea50e7b44876812.tar.bz2 otp-23a30d882464df4210ea53096ea50e7b44876812.zip |
Merge branch 'maint'
* maint:
Fix prim_inet:close/1
Ensure exit signal due to link precede port BIF return
Conflicts:
erts/preloaded/ebin/prim_inet.beam
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r-- | erts/emulator/beam/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index 60c3ce2de5..d4623c0450 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -3602,6 +3602,8 @@ erts_deliver_port_exit(Port *p, Eterm from, Eterm reason, int send_closed) if (send_closed) set_state_flags |= ERTS_PORT_SFLG_SEND_CLOSED; + erts_port_task_sched_enter_exiting_state(&p->sched); + state = erts_atomic32_read_bor_mb(&p->state, set_state_flags); state |= set_state_flags; |