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/ebin | |
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/ebin')
-rw-r--r-- | erts/preloaded/ebin/socket.beam | bin | 69392 -> 70272 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/erts/preloaded/ebin/socket.beam b/erts/preloaded/ebin/socket.beam Binary files differindex 25046e6aad..ddd50fdefa 100644 --- a/erts/preloaded/ebin/socket.beam +++ b/erts/preloaded/ebin/socket.beam |