aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/nifs/common/socket_int.h
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-07-16 18:21:48 +0200
committerMicael Karlberg <[email protected]>2018-09-18 14:50:18 +0200
commit017565203f40860d24b80a54136a160aee460dbe (patch)
tree7dd8d8a9426cd918a1d41db7dcd99bcb7cc35a51 /erts/emulator/nifs/common/socket_int.h
parent8de18e84deaed4c9e6e7242ae2550fc6618dc44d (diff)
downloadotp-017565203f40860d24b80a54136a160aee460dbe.tar.gz
otp-017565203f40860d24b80a54136a160aee460dbe.tar.bz2
otp-017565203f40860d24b80a54136a160aee460dbe.zip
[socket-nif] Add support for multiple acceptor processes
Its now possible to have multiple (simultaneous) acceptor processes for the same listening socket. OTP-14831
Diffstat (limited to 'erts/emulator/nifs/common/socket_int.h')
-rw-r--r--erts/emulator/nifs/common/socket_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/nifs/common/socket_int.h b/erts/emulator/nifs/common/socket_int.h
index aa10260134..67e4baba27 100644
--- a/erts/emulator/nifs/common/socket_int.h
+++ b/erts/emulator/nifs/common/socket_int.h
@@ -92,6 +92,7 @@ typedef unsigned int BOOLEAN_T;
#define BOOL2ATOM(__B__) ((__B__) ? esock_atom_true : esock_atom_false)
+#define B2S(__B__) ((__B__) ? "true" : "false")
/* Misc error strings */
#define ESOCK_STR_EAFNOSUPPORT "eafnosupport"
@@ -141,6 +142,7 @@ extern ERL_NIF_TERM esock_atom_eagain;
extern ERL_NIF_TERM esock_atom_einval;
+
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
* Various wrapper macros for enif functions
*/