On Thu, Jun 26, 2014 at 12:28, Matthew Dempsky wrote: > MAP_HASSEMAPHORE is used in rthread_sem.c, but it doesn't do anything, > so I suspect it's just cargo culting based on man page misinformation? > Are there architectures that actually have restrictions on semaphore > memory?
More or less. I read the man page, saw it was there, and used it. I know it doesn't do anything on OpenBSD, but I thought it was a posix flag. If it's not, it should be removed.