From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2178) id 4B0193857B9B; Tue, 6 Jun 2023 11:17:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B0193857B9B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686050268; bh=nLx4TYle7mm+31d2UxJiJgcpr+bXUu6doob0CQMqVds=; h=From:To:Subject:Date:From; b=pYWOxVHeJ7NKIK49I95aKUK1RRkgvAc/h3/Z0MFI2z5bMlB3Ubx9rphtFgpvvtrhz IyRAZvFAW2pPyYkiodu6Z8TML9frkAZZpmYXaLKNKVMykuh9CDE1usYy6yg0U6Afah Wl/yAceKKvhYcliNZPiBLWGhx5hIDZe739X3Iwvo= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc] pthreads: Use _exit to terminate the tst-stdio1 test X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/master X-Git-Oldrev: 047703fbb88eb38fbe973f3abedb279382f181d0 X-Git-Newrev: 7d421209287a07db5e926552ae5fbe9d8abb50dc Message-Id: <20230606111748.4B0193857B9B@sourceware.org> Date: Tue, 6 Jun 2023 11:17:48 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7d421209287a07db5e926552ae5fbe9d8abb50dc commit 7d421209287a07db5e926552ae5fbe9d8abb50dc Author: Florian Weimer Date: Tue Jun 6 11:39:06 2023 +0200 pthreads: Use _exit to terminate the tst-stdio1 test Previously, the exit function was used, but this causes the test to block (until the timeout) once exit is changed to lock stdio streams during flush. Diff: --- sysdeps/pthread/tst-stdio1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/pthread/tst-stdio1.c b/sysdeps/pthread/tst-stdio1.c index 1266181505..b198576319 100644 --- a/sysdeps/pthread/tst-stdio1.c +++ b/sysdeps/pthread/tst-stdio1.c @@ -46,7 +46,7 @@ do_test (void) _exit (1); } - delayed_exit (1); + delayed__exit (1); xpthread_join (th); puts ("join returned");