HomeFreeBSD

Make semaphore names list mutex non-recursive.

Description

Make semaphore names list mutex non-recursive.

The mutex is used in sem_open() and sem_close(), which cannot
recurse. The atfork handlers cannot collide with the open and close
code.

Reviewed by: vangyzen
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D10545

Details

Provenance
kibAuthored on
Reviewer
vangyzen
Differential Revision
D10545: Make semaphore names list mutex non-recursive.
Parents
rS317610: Restructure normal (non-error) control flow in sem_close().
Branches
Unknown
Tags
Unknown