summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-05-23 21:26:09 (GMT)
committerGitHub <noreply@github.com>2024-05-23 21:26:09 (GMT)
commite94dbe4ed83460f18bd72563c5f09f6cdc71f604 (patch)
tree510ccc893c476694bd9a50c167f6ca74346059d3 /Python/thread.c
parentbe1dfccdf2c5c7671b8a549e969b8cf7d60d9936 (diff)
downloadcpython-e94dbe4ed83460f18bd72563c5f09f6cdc71f604.zip
cpython-e94dbe4ed83460f18bd72563c5f09f6cdc71f604.tar.gz
cpython-e94dbe4ed83460f18bd72563c5f09f6cdc71f604.tar.bz2
gh-119461: Fix ThreadedVSOCKSocketStreamTest (#119465)
Add socket.VMADDR_CID_LOCAL constant. Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the host address or the "any" address, use the local communication address (loopback): VMADDR_CID_LOCAL. On Linux 6.9, apparently, the /dev/vsock device is now available but get_cid() returns VMADDR_CID_ANY (-1).
Diffstat (limited to 'Python/thread.c')
0 files changed, 0 insertions, 0 deletions