Home GnuPG
Diffusion nPth f1021c211e33

MacOS: Add fallback implementation for POSIX semaphore API.

Description

MacOS: Add fallback implementation for POSIX semaphore API.

* configure.ac [*-apple-darwin*] (HAVE_NO_POSIX_SEMAPHORE): New.
* src/npth.c [HAVE_NO_POSIX_SEMAPHORE] (sem_init, sem_post, sem_wait):
New.
  • GnuPG-bug-id: T7057
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mar 27 2024, 12:57 AM
Parents
rPTH417abd56fd7b: Fix INSERT_EXPOSE_RWLOCK_API for musl C library.
Branches
Unknown
Tags
Unknown
Tasks
T7057: Npth needs adaptions to old Mac OS X versions