diff options
author | Micael Karlberg <[email protected]> | 2019-06-25 15:48:16 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-06-26 15:06:16 +0200 |
commit | 67341a69b6593cac1b973354cc25c8f3a564fe2a (patch) | |
tree | 22e09721bd0f858257104a6c4a364dc7af6e1272 /erts/emulator/nifs/common/socket_int.h | |
parent | 37338e9876e911d5b019a7f5dda3a7ffc34f8d0b (diff) | |
download | otp-67341a69b6593cac1b973354cc25c8f3a564fe2a.tar.gz otp-67341a69b6593cac1b973354cc25c8f3a564fe2a.tar.bz2 otp-67341a69b6593cac1b973354cc25c8f3a564fe2a.zip |
[esock] Counters for individual sockets
We already had the counters. But we did not entirely handle
counter wrap, especially in related to 'iow' (Inform On Wrap).
There was also no way to get to the counter values, so a socket
specific info function was implemented (piggy back on the existing
"global" info function). And since, we have it, we also add
other info in the returned map (number of readers, writers and
acceptors).
OTP-15818
Diffstat (limited to 'erts/emulator/nifs/common/socket_int.h')
-rw-r--r-- | erts/emulator/nifs/common/socket_int.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/nifs/common/socket_int.h b/erts/emulator/nifs/common/socket_int.h index ac689e82b1..4161775a04 100644 --- a/erts/emulator/nifs/common/socket_int.h +++ b/erts/emulator/nifs/common/socket_int.h @@ -102,6 +102,9 @@ typedef unsigned int BOOLEAN_T; /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ * "Global" atoms + * + * Note that when an (global) atom is added here, it must also be added + * in the socket_nif.c file! */ #define GLOBAL_ATOM_DEFS \ |