public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Jeff Johnston <jjohnstn@redhat.com>
To: Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc: Newlib <newlib@sourceware.org>
Subject: Re: [PATCH] Use right lock release in __register_exitproc()
Date: Tue, 24 May 2022 15:22:18 -0400	[thread overview]
Message-ID: <CAOox84sz56g_wAGB2u6YzrE=uqzFNAOwGHusCWRZvY-EK5KmPQ@mail.gmail.com> (raw)
In-Reply-To: <20220517170438.122400-1-sebastian.huber@embedded-brains.de>

Looks good, please go ahead.

-- Jeff J.

On Tue, May 17, 2022 at 1:04 PM Sebastian Huber <
sebastian.huber@embedded-brains.de> wrote:

> ---
>  newlib/libc/stdlib/__atexit.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/newlib/libc/stdlib/__atexit.c b/newlib/libc/stdlib/__atexit.c
> index 04bdf194e..e59f04c2e 100644
> --- a/newlib/libc/stdlib/__atexit.c
> +++ b/newlib/libc/stdlib/__atexit.c
> @@ -128,7 +128,7 @@ __register_exitproc (int type,
>           if (args == NULL)
>             {
>  #ifndef __SINGLE_THREAD__
> -             __lock_release(__atexit_recursive_mutex);
> +             __lock_release_recursive(__atexit_recursive_mutex);
>  #endif
>               return -1;
>             }
> --
> 2.35.3
>
>

      parent reply	other threads:[~2022-05-24 19:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17 17:04 Sebastian Huber
2022-05-17 19:33 ` Corinna Vinschen
2022-05-24 19:22 ` Jeff Johnston [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='CAOox84sz56g_wAGB2u6YzrE=uqzFNAOwGHusCWRZvY-EK5KmPQ@mail.gmail.com' \
    --to=jjohnstn@redhat.com \
    --cc=newlib@sourceware.org \
    --cc=sebastian.huber@embedded-brains.de \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).