Author mark.dickinson
Recipients db3l, jnoller, mark.dickinson
Date 2009-11-20.16:18:35
SpamBayes Score 8.14471e-06
Marked as misclassified No
Message-id <1258733919.86.0.444516046393.issue7272@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch that makes FreeBSD behave exactly as though HAVE_SEM_OPEN
is not defined, when semaphores aren't available.  On my FreeBSD 7.2
test system, it results in the multiprocessing module being built
(without the contents of semaphore.c), but the test is skipped, along
with a message indicating that semaphores don't work on that system.

I added an autoconf test for the sem_open failure, and reused the
already existing pyconfig.h variable HAVE_BROKEN_POSIX_SEMAPHORES.
History
Date User Action Args
2009-11-20 16:18:40mark.dickinsonsetrecipients: + mark.dickinson, db3l, jnoller
2009-11-20 16:18:39mark.dickinsonsetmessageid: <1258733919.86.0.444516046393.issue7272@psf.upfronthosting.co.za>
2009-11-20 16:18:38mark.dickinsonlinkissue7272 messages
2009-11-20 16:18:38mark.dickinsoncreate