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)
Sat, Nov 16, 3:20 AM
Unknown Object (File)
Oct 13 2024, 6:56 AM
Unknown Object (File)
Sep 23 2024, 5:50 PM
Unknown Object (File)
Sep 23 2024, 4:45 AM
Unknown Object (File)
Sep 22 2024, 11:17 PM
Unknown Object (File)
Sep 22 2024, 4:20 PM
Unknown Object (File)
Sep 19 2024, 9:21 PM
Unknown Object (File)
Sep 18 2024, 3:54 PM
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