From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 6110 invoked from network); 2 Apr 2020 03:57:22 -0000 Received-SPF: pass (mother.openwall.net: domain of lists.openwall.com designates 195.42.179.200 as permitted sender) receiver=inbox.vuxu.org; client-ip=195.42.179.200 envelope-from= Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with UTF8ESMTPZ; 2 Apr 2020 03:57:22 -0000 Received: (qmail 32096 invoked by uid 550); 2 Apr 2020 03:57:18 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 32066 invoked from network); 2 Apr 2020 03:57:17 -0000 From: "wangjianjian (C)" To: "musl@lists.openwall.com" CC: "Songyunlong (Euler)" Thread-Topic: [PATCH] atexit: Unlock after executing exit functions Thread-Index: AdYIorsClJ05LGCvSQqjUX/FmGdD1g== Date: Thu, 2 Apr 2020 03:56:58 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.108.222.168] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: [musl] [PATCH] atexit: Unlock after executing exit functions >From 0bf59dbec10f1267419696ee5b3aa9ace1379ee2 Mon Sep 17 00:00:00 2001 From: Wang Jianjian Date: Thu, 2 Apr 2020 11:51:13 +0800 Subject: [PATCH] atexit: Unlock after executing exit functions Signed-off-by: Wang Jianjian --- src/exit/atexit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/exit/atexit.c b/src/exit/atexit.c index 160d277a..d30db5df 100644 --- a/src/exit/atexit.c +++ b/src/exit/atexit.c @@ -27,6 +27,7 @@ void __funcs_on_exit() func(arg); LOCK(lock); } + UNLOCK(lock); } =20 void __cxa_finalize(void *dso) --=20 2.17.1