public inbox for
help / color / mirror / Atom feed
From: Sebastian Huber <>
Subject: [newlib-cygwin] Use right lock release in __register_exitproc()
Date: Wed, 18 May 2022 05:57:49 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=5c7af4227d324c2aa83e4fc4042a1b52147907f4

commit 5c7af4227d324c2aa83e4fc4042a1b52147907f4
Author: Sebastian Huber <>
Date:   Tue May 17 18:48:34 2022 +0200

    Use right lock release in __register_exitproc()

 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 97ce053bf..ed7af4200 100644
--- a/newlib/libc/stdlib/__atexit.c
+++ b/newlib/libc/stdlib/__atexit.c
@@ -133,7 +133,7 @@ __register_exitproc (int type,
 	  if (args == NULL)
 #ifndef __SINGLE_THREAD__
-	      __lock_release(__atexit_recursive_mutex);
+	      __lock_release_recursive(__atexit_recursive_mutex);
 	      return -1;

                 reply	other threads:[~2022-05-18  5:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \ \ \ \

* 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).