mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-46696: Add socket.SO_INCOMING_CPU constant (#31237)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
b295a92c50
commit
d5dfcd4489
3 changed files with 13 additions and 0 deletions
|
@ -7505,6 +7505,9 @@ PyInit__socket(void)
|
|||
#ifdef SO_EXCLUSIVEADDRUSE
|
||||
PyModule_AddIntMacro(m, SO_EXCLUSIVEADDRUSE);
|
||||
#endif
|
||||
#ifdef SO_INCOMING_CPU
|
||||
PyModule_AddIntMacro(m, SO_INCOMING_CPU);
|
||||
#endif
|
||||
|
||||
#ifdef SO_KEEPALIVE
|
||||
PyModule_AddIntMacro(m, SO_KEEPALIVE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue