diff options
author | Micael Karlberg <[email protected]> | 2018-10-18 16:17:42 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-10-18 16:17:42 +0200 |
commit | 6a5013d89a02401b132483711325ca07b8357020 (patch) | |
tree | be6ab64679b4d3e1d320bdd0b9182e261c639927 /lib/kernel/test/logger_simple_h_SUITE.erl | |
parent | f945aa4a8067d745ee75fe695272104e220d7bc3 (diff) | |
download | otp-6a5013d89a02401b132483711325ca07b8357020.tar.gz otp-6a5013d89a02401b132483711325ca07b8357020.tar.bz2 otp-6a5013d89a02401b132483711325ca07b8357020.zip |
[socket-nif] Socket close
Fixed a number of issues regarding monitor handling.
Monitors are now wrapped in its own type (ESockMonitor).
This is hopefully temporary!
The reason for this is that there is no way to "initialize"
a monitor after a demonitor. This could mean that after a
successful demonitor, you could still get a down-callback,
and thenh compare with, for instance, ctrlMOn field and get
a match, even though it was just (successfully) demonitor'ed.
To make debugging easier, the monitor and demonitor calls
are now wrapped in their own functions, with debug printouts
before and in case of failure, also after the actual calls
Also, fixed a number of problems with cancel, where monitors
where left still active after cleaning up current and active
reader, writer and acceptor.
OTP-14831
Diffstat (limited to 'lib/kernel/test/logger_simple_h_SUITE.erl')
0 files changed, 0 insertions, 0 deletions