diff options
author | Micael Karlberg <[email protected]> | 2019-03-14 17:22:48 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-04-17 16:56:33 +0200 |
commit | 1854d05fb73fb7a787a37e9ada9e4cafdc7a7e84 (patch) | |
tree | 9d1fa8b5ee97d205bc1b0c4880aa7f2aa59b6336 /lib/common_test/test_server | |
parent | 6a5eda1dc70bbfa8f53b2e2c3e79db1748a01bfd (diff) | |
download | otp-1854d05fb73fb7a787a37e9ada9e4cafdc7a7e84.tar.gz otp-1854d05fb73fb7a787a37e9ada9e4cafdc7a7e84.tar.bz2 otp-1854d05fb73fb7a787a37e9ada9e4cafdc7a7e84.zip |
[socket] Make use of the new select (read|write) functions
Make use of the new select functions; enif_select_[read|write],
for read and write select. These functions allows us to construct
the select message ourseves:
{'$socket', Socket, select, Ref}
This is in preparations for when we introduce the 'nowait'
(or something similar) value for the timeout argument (in accept,
read and write funcions).
It also solves (we hope) the term leakage problems (it was difficult
to free the environment when there was only one/socket).
OTP-15496
Diffstat (limited to 'lib/common_test/test_server')
0 files changed, 0 insertions, 0 deletions