]> granicus.if.org Git - python/commit
bpo-35903: Use autoconfig to probe for shm_open() and shm_unlink(). (#11765)
authorNeil Schemenauer <nas-github@arctrix.com>
Fri, 8 Feb 2019 18:48:46 +0000 (10:48 -0800)
committerGitHub <noreply@github.com>
Fri, 8 Feb 2019 18:48:46 +0000 (10:48 -0800)
commit5741c45acf9b0ce22ff0dbf56322fe0ff16cfcfc
tree783c08f9a90d37d478e235bc37ecec499cbd7a78
parent64360ada0f6123a051e9dc6cd04f030ec1322e46
bpo-35903: Use autoconfig to probe for shm_open() and shm_unlink(). (#11765)

Use autoconfig to probe for shm_open() and shm_unlink().  Set SHM_NEEDS_LIBRT if we must
link with librt to get the shm_* functions.  Change setup.py to use the autoconfig defines.  These
changes should make it more likely that _multiprocessing/posixshmem.c gets built correctly on
different platforms.
configure
configure.ac
pyconfig.h.in
setup.py