Re: Wislist for Linux from the mold linker's POV
From: Bernd Petrovitsch
Date: Wed Dec 04 2024 - 05:57:41 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
--
Bernd Petrovitsch Email : bernd@xxxxxxxxxxxxxxxxxxx
There is NO CLOUD, just other people's computers. - FSFE
LUGA : http://www.luga.at