Closed chikei closed 12 months ago
per POSIX semaphore, sem_init should be paired with sem_destroy (unnamed semaphore), sem_close should be paired with sem_open (named one).
While glibc seems forgiving about this, this will cause hangs or segfaults with musl (for example, #1887).
per POSIX semaphore, sem_init should be paired with sem_destroy (unnamed semaphore), sem_close should be paired with sem_open (named one).
While glibc seems forgiving about this, this will cause hangs or segfaults with musl (for example, #1887).