Page MenuHomeFreeBSD

Make semaphore names list mutex non-recursive.
ClosedPublic

Authored by kib on Apr 30 2017, 10:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 20, 7:23 PM
Unknown Object (File)
Sat, Apr 18, 4:16 AM
Unknown Object (File)
Wed, Apr 15, 6:14 PM
Unknown Object (File)
Tue, Apr 14, 8:11 PM
Unknown Object (File)
Mon, Apr 13, 5:47 AM
Unknown Object (File)
Sat, Apr 11, 10:02 AM
Unknown Object (File)
Thu, Apr 9, 1:51 AM
Unknown Object (File)
Mar 26 2026, 4:32 AM
Subscribers

Details

Summary

I do not see how recursion can be realized in the current code.

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable