summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2022-05-03 17:33:11 (GMT)
committerGitHub <noreply@github.com>2022-05-03 17:33:11 (GMT)
commitd5dfcd4489e25c1b6e985fb6b8a700c8a49c68df (patch)
treedf730c6cd57ba288e69781ca152cad89e69559e9 /Doc/library/socket.rst
parentb295a92c50b128e494f47c28f12b8e9eac2927ea (diff)
downloadcpython-d5dfcd4489e25c1b6e985fb6b8a700c8a49c68df.zip
cpython-d5dfcd4489e25c1b6e985fb6b8a700c8a49c68df.tar.gz
cpython-d5dfcd4489e25c1b6e985fb6b8a700c8a49c68df.tar.bz2
bpo-46696: Add socket.SO_INCOMING_CPU constant (#31237)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc/library/socket.rst')
-rwxr-xr-xDoc/library/socket.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 3b1912c..ee1aee5 100755
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -575,6 +575,15 @@ Constants
.. availability:: FreeBSD.
+.. data:: SO_INCOMING_CPU
+
+ Constant to optimize CPU locality, to be used in conjunction with
+ :data:`SO_REUSEPORT`.
+
+ .. versionadded:: 3.11
+
+ .. availability:: Linux >= 3.9
+
Functions
^^^^^^^^^