Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi via Gdb-patches <gdb-patches@sourceware.org>
To: Carl Love <cel@us.ibm.com>,
	Pedro Franco de Carvalho <pedromfc@linux.ibm.com>,
	gdb-patches@sourceware.org
Cc: ulrich.weigand@de.ibm.com, tom@tromey.com, rogealve@br.ibm.com
Subject: Re: [PATCH] kill all threadapply processes at end of test
Date: Tue, 1 Jun 2021 12:08:04 -0400	[thread overview]
Message-ID: <45240f47-fb67-8d59-be02-427d66f9d776@polymtl.ca> (raw)
In-Reply-To: <5c776f594a2cb584423ba95d9b3d7ea1ae527def.camel@us.ibm.com>

> I have added a commit message describing the issue with the test and
> how the patch fixes the issue. 
> 
> Please let me know if the patch is acceptable for committing to GDB
> mainline.   Thanks.
> 
>                    Carl
> 
> ---------------------------------------------------------------------
> Fix threadapply test
> 
> The current test case leaves detached processes running at the end of
> the test.  This patch changes the test to use a barrier wait to ensure all
> processes exit cleanly at the end of the tests.
> 
> gdb/testsuite/ChangeLog:
> 
> 2021-05-22  Carl Love  <cel@us.ibm.com>
> 
> 	* gdb.threads/threadapply.c: Add global mybarrier.
> 	(main): Add pthread_barrier_init.
> 	(thread_function): Replace while loop with myp increment and
> 	pthread_barrier_wait.

Thanks, this is OK.  Do you have push access or know somebody that could
push it for you?  Otherwise, I can do it.

Simon

  reply	other threads:[~2021-06-01 16:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-12 16:36 Carl Love via Gdb-patches
2021-05-13 14:30 ` Simon Marchi via Gdb-patches
2021-05-13 15:44 ` Tom Tromey
2021-05-13 18:10   ` Carl Love via Gdb-patches
2021-05-18 15:29     ` Carl Love via Gdb-patches
2021-05-18 21:56       ` Pedro Franco de Carvalho via Gdb-patches
2021-05-19  0:11         ` Pedro Franco de Carvalho via Gdb-patches
2021-05-20 15:42           ` Carl Love via Gdb-patches
2021-05-20 16:01           ` Carl Love via Gdb-patches
2021-05-24 15:30             ` Carl Love via Gdb-patches
2021-05-29  1:48               ` Simon Marchi via Gdb-patches
2021-06-01 15:42                 ` Carl Love via Gdb-patches
2021-06-01 16:08                   ` Simon Marchi via Gdb-patches [this message]
2021-06-02 15:08                     ` Carl Love via Gdb-patches

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=45240f47-fb67-8d59-be02-427d66f9d776@polymtl.ca \
    --to=gdb-patches@sourceware.org \
    --cc=cel@us.ibm.com \
    --cc=pedromfc@linux.ibm.com \
    --cc=rogealve@br.ibm.com \
    --cc=simon.marchi@polymtl.ca \
    --cc=tom@tromey.com \
    --cc=ulrich.weigand@de.ibm.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox