[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: This platform lacks a functioning sem_open implementation



On Thu, May 02, 2013 at 04:26:23PM +0200, Petr Salinger wrote:
> Not really. We do not support "named semaphores" (sem_open),
> but we do support (unnamed semaphores) (sem_init).
> The "named only" functions returns ENOSYS.

In Wheezy on kfreebsd?  The implementation of sem_open in
eglibc-2.13/linuxthreads/semaphore.c simply always returns ENOSYS.
(2.13-38)

193 sem_t *sem_open(const char *name, int oflag, ...)
194 {
195   __set_errno (ENOSYS);
196   return SEM_FAILED;
197 }

sem_open is the function checked by Python's configure.

Jeff

Attachment: signature.asc
Description: Digital signature


Reply to: