mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Michael Forney <mforney@mforney.org>
Cc: musl@lists.openwall.com
Subject: Re: [musl] Support SIGEV_THREAD_ID
Date: Mon, 02 Nov 2020 13:55:14 +0100	[thread overview]
Message-ID: <87k0v3hqa5.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <CAGw6cBvDJm+9tJg8dNeyH0bXEXQ_NpCN5+87_9ZRRiZ9=jF18g@mail.gmail.com> (Michael Forney's message of "Fri, 30 Oct 2020 14:22:09 -0700")

* Michael Forney:

> On 2019-08-01, Florian Weimer <fweimer@redhat.com> wrote:
>> * James Y. Knight:
>>
>>> There seems to be some debate in glibc over whether this API should be
>>> supported, due to the long-standing debate about "pthread_t" vs
>>> "kernel tid" APIs. (And this API uses kernel tids, of course.)
>>
>> The debate is over and has been decided in favor of supporting TIDs.  We
>> just have a backlog of interfaces for which we need to add support.
>
> Hi Florian,
>
> Am I interpreting you correctly that glibc intends to add a
> sigev_notify_thread_id define to access this field in struct sigevent?
> I plan to send a patch to qemu to use sigev_notify_thread_id over
> _sigev_un.tid if it is available, and I just want to confirm that
> glibc intends to follow suit before I mention that in the commit
> message.

I do not expect that we are going to add a sigev_notify_thread_id member
once glibc implements the struct member.  On common configurations, it's
likely that we are going to use a different approach, using anonymous
structs and unions.

I think you will have to use a different mechanism for detecting the
presence of the struct member.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill


  parent reply	other threads:[~2020-11-02 12:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-01 16:15 James Y Knight
2019-08-01 16:24 ` Florian Weimer
2019-08-01 16:45   ` Rich Felker
2020-10-30 21:22   ` [musl] " Michael Forney
2020-11-01  5:46     ` Khem Raj
2020-11-02 12:55     ` Florian Weimer [this message]
2019-08-01 16:49 ` Rich Felker
2019-08-01 18:00   ` James Y Knight
2019-08-06  2:06     ` Rich Felker
2020-08-18  0:32 ` [musl] " Rich Felker

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=87k0v3hqa5.fsf@oldenburg2.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=mforney@mforney.org \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).