summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRUANG (James Roy) <longjinyii@outlook.com>2024-12-04 13:30:38 (GMT)
committerGitHub <noreply@github.com>2024-12-04 13:30:38 (GMT)
commit6bc3e830a518112a4e242217807681e3908602f4 (patch)
tree9d1ba86c27e50c458b5db0214eab65032761158c /Doc
parentbc0f2e945993747c8b1a6dd66cbe902fddd5758b (diff)
downloadcpython-6bc3e830a518112a4e242217807681e3908602f4.zip
cpython-6bc3e830a518112a4e242217807681e3908602f4.tar.gz
cpython-6bc3e830a518112a4e242217807681e3908602f4.tar.bz2
gh-127481: Add `EPOLLWAKEUP` to the `select` module (GH-127482)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/select.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst
index f23a249..4fcff91 100644
--- a/Doc/library/select.rst
+++ b/Doc/library/select.rst
@@ -317,11 +317,17 @@ Edge and Level Trigger Polling (epoll) Objects
+-------------------------+-----------------------------------------------+
| :const:`EPOLLMSG` | Ignored. |
+-------------------------+-----------------------------------------------+
+ | :const:`EPOLLWAKEUP` | Prevents sleep during event waiting. |
+ +-------------------------+-----------------------------------------------+
.. versionadded:: 3.6
:const:`EPOLLEXCLUSIVE` was added. It's only supported by Linux Kernel 4.5
or later.
+ .. versionadded:: next
+ :const:`EPOLLWAKEUP` was added. It's only supported by Linux Kernel 3.5
+ or later.
+
.. method:: epoll.close()
Close the control file descriptor of the epoll object.