diff options
author | Micael Karlberg <[email protected]> | 2018-12-12 18:37:55 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-12-14 11:46:28 +0100 |
commit | 342d35f457c15a9cea426e8ca83bfd52b0ec2f2e (patch) | |
tree | e4e98ea22598735af6972f5721195b80f0afe273 /erts/preloaded/src/prim_inet.erl | |
parent | a33acd53524160d65929d06f06e387ce8419b1c0 (diff) | |
download | otp-342d35f457c15a9cea426e8ca83bfd52b0ec2f2e.tar.gz otp-342d35f457c15a9cea426e8ca83bfd52b0ec2f2e.tar.bz2 otp-342d35f457c15a9cea426e8ca83bfd52b0ec2f2e.zip |
[socket-nif] Message interface between socket.erl and nif updated
Previously the "message interface" between the functions in
socket.erl and the nif-code (socket_nif.c) was "ad hoc".
This has now been changed so that we have a unified message
{'$socket', SockRef | undefined, Tag, Info}
This also has the added advantage of preparing the code for
when we start using the new select-fucntions (with which
its possible to specify your own message). This will be used
in order to get around our eterm "leak" (we will use a simple
counter, maintained in the nif, instead of the [Recv|Send|Acc]Ref
we generate in the erlang code today.
OTP-14831
Diffstat (limited to 'erts/preloaded/src/prim_inet.erl')
0 files changed, 0 insertions, 0 deletions