From: Tom Tromey <tromey@adacore.com>
To: Andrew Burgess <aburgess@redhat.com>
Cc: gdb-patches@sourceware.org, Tom Tromey <tromey@adacore.com>,
Simon Farre <simon.farre.cx@gmail.com>
Subject: Re: [PATCH] gdb/testsuite: fix race condition in gdb.python/py-thread-exited.exp
Date: Tue, 15 Aug 2023 07:36:58 -0600 [thread overview]
Message-ID: <875y5gzath.fsf@tromey.com> (raw)
In-Reply-To: <dbfd185a6e4b6cda45034df243803c1ae1acf509.1692046670.git.aburgess@redhat.com> (Andrew Burgess's message of "Mon, 14 Aug 2023 21:58:23 +0100")
>>>>> "Andrew" == Andrew Burgess <aburgess@redhat.com> writes:
Andrew> I could fix this by having the .exp file not care about the thread
Andrew> order, or by changing the C file to force the order. I chose the
Andrew> later, and added a pthread_barrier_t to ensure the threads exit in the
Andrew> correct order.
Looks good to me, thanks.
Tom
next prev parent reply other threads:[~2023-08-15 13:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-14 20:58 Andrew Burgess
2023-08-15 13:36 ` Tom Tromey [this message]
2023-08-16 14:04 ` Andrew Burgess
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=875y5gzath.fsf@tromey.com \
--to=tromey@adacore.com \
--cc=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=simon.farre.cx@gmail.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).