[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3d7a96f4-b50d-41bc-8221-54be9ea1350e@sysprog.at>
Date: Wed, 4 Dec 2024 11:43:02 +0100
From: Bernd Petrovitsch <bernd@...prog.at>
To: Rui Ueyama <rui314@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: Wislist for Linux from the mold linker's POV
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
Powered by blists - more mailing lists