HomeFreeBSD

Call sem_unlink on semaphores before attempting to create them

Description

Call sem_unlink on semaphores before attempting to create them

Due to the lack of uniqueness in the semaphore name, and the fact that the
tests don't have cleanup routines, an interrupted test can leave a semaphore
"laying around", causing all subsequent attempts to run the test to fail

I will file a NetBSD PR for this issue soon

Details

Provenance
ngieAuthored on
Parents
rS274578: Add reachover Makefiles for contrib/netbsd-tests/lib/libpthread as
Branches
Unknown
Tags
Unknown

Event Timeline