Re: Wislist for Linux from the mold linker's POV
From: Bernd Petrovitsch
Date: Wed Dec 04 2024 - 05:43:20 EST
Hi all!
On 28.11.24 03:52, Rui Ueyama wrote:
[...]
After all, we just want a system-wide semaphore that is guaranteed to
be released on process exit. But it seems like such a thing doesn't
exist.
I use a socket for that purpose as they are closed with the end of
the process.
(SysV-)Semaphores cannot do that as they are separate entities with a
life independent of processes.
Kind regards,
Bernd
--
mobile: +43 664 4416156 http://www.sysprog.at/
Embedded Linux Software Development, Consulting and Services