From 1854d05fb73fb7a787a37e9ada9e4cafdc7a7e84 Mon Sep 17 00:00:00 2001 From: Micael Karlberg Date: Thu, 14 Mar 2019 17:22:48 +0100 Subject: [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 --- erts/preloaded/ebin/socket.beam | Bin 70284 -> 21788 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'erts/preloaded/ebin') diff --git a/erts/preloaded/ebin/socket.beam b/erts/preloaded/ebin/socket.beam index 23b3269990..593bd7a797 100644 Binary files a/erts/preloaded/ebin/socket.beam and b/erts/preloaded/ebin/socket.beam differ -- cgit v1.2.3