mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bernd Petrovitsch <bernd@sysprog.at>
To: Rui Ueyama <rui314@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Wislist for Linux from the mold linker's POV
Date: Wed, 4 Dec 2024 11:43:02 +0100	[thread overview]
Message-ID: <3d7a96f4-b50d-41bc-8221-54be9ea1350e@sysprog.at> (raw)
In-Reply-To: <CACKH++baPUaoQQhL0+qcc_DzX7kGcmAOizgfaCQ8gG=oBKDDYw@mail.gmail.com>

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

      parent reply	other threads:[~2024-12-04 10:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-28  2:52 Rui Ueyama
2024-11-28 17:41 ` Florian Weimer
2024-11-29  0:44   ` Rui Ueyama
2024-11-29  5:38     ` Niklas Hambüchen
2024-11-29 18:12       ` Theodore Ts'o
2024-11-30 15:36         ` Niklas Hambüchen
2024-11-29  7:17 ` наб
2024-11-29  7:25   ` Rui Ueyama
2024-11-29  7:37     ` наб
2024-12-04 10:42 ` Bernd Petrovitsch
2024-12-04 10:43 ` Bernd Petrovitsch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3d7a96f4-b50d-41bc-8221-54be9ea1350e@sysprog.at \
    --to=bernd@sysprog.at \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rui314@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®