mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
add EPOLLEXCLUSIVE
This commit is contained in:
parent
96e97169cc
commit
0715ce358a
3 changed files with 42 additions and 32 deletions
|
@ -2479,6 +2479,9 @@ PyInit_select(void)
|
|||
/* Kernel 2.6.2+ */
|
||||
PyModule_AddIntMacro(m, EPOLLONESHOT);
|
||||
#endif
|
||||
#ifdef EPOLLEXCLUSIVE
|
||||
PyModule_AddIntMacro(m, EPOLLEXCLUSIVE);
|
||||
#endif
|
||||
|
||||
#ifdef EPOLLRDNORM
|
||||
PyModule_AddIntMacro(m, EPOLLRDNORM);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue