This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients Alex.Willmer, berker.peksag, bquinlan, python-dev, xdegaye
Date 2016-05-07.19:52:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462650766.96.0.407678411093.issue26924@psf.upfronthosting.co.za>
In-reply-to
Content
There is a typo in sem_unlink_alt.diff, not in the patch itself but in the neighbouring lines. In Modules/_multiprocessing/semaphore.c, it should be, I think, after one does 's/define sem_unlink(name)/define SEM_UNLINK(name)/':

@@ -194,8 +194,8 @@
 #  define SEM_FAILED ((sem_t *)-1)
 #endif
 
-#ifndef HAVE_SEM_UNLINK
-#  define sem_unlink(name) 0
+#if !defined(HAVE_SEM_UNLINK) || defined(__ANDROID__)
+#  define SEM_UNLINK(name) 0
 #endif
 
 #ifndef HAVE_SEM_TIMEDWAIT


But applying this new patch, gives exactly the same results. Maybe it is not just sem_unlink() that is not implemented. I will run a gdb session to find out.
History
Date User Action Args
2016-05-07 19:52:47xdegayesetrecipients: + xdegaye, bquinlan, python-dev, berker.peksag, Alex.Willmer
2016-05-07 19:52:46xdegayesetmessageid: <1462650766.96.0.407678411093.issue26924@psf.upfronthosting.co.za>
2016-05-07 19:52:46xdegayelinkissue26924 messages
2016-05-07 19:52:46xdegayecreate