From: Tom Tromey <tromey@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] testsuite: Fix a race by me - watchthreads-reorder.exp
Date: Wed, 20 Jan 2010 21:01:00 -0000 [thread overview]
Message-ID: <m3iqawze1p.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20100119221228.GA30074@host0.dyn.jankratochvil.net> (Jan Kratochvil's message of "Tue, 19 Jan 2010 23:12:28 +0100")
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
Jan> (thread1_func): Protect thread1_tid with thread1_tid_cond by
Jan> thread1_tid_mutex. Remove gdbstop_mutex handling.
Jan> (thread2_func): Protect thread2_tid with thread2_tid_cond by
Jan> thread2_tid_mutex. Remove gdbstop_mutex handling.
Jan> (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
Jan> pthread_create. Remove gdbstop_mutex handling. New comment. Replace
Jan> pthread_cond_wait conditionalizations by while loops.
Ok. Thanks.
Tom
next prev parent reply other threads:[~2010-01-20 21:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-17 19:50 Jan Kratochvil
2009-12-17 20:27 ` Tom Tromey
2010-01-19 22:12 ` Jan Kratochvil
2010-01-20 21:01 ` Tom Tromey [this message]
2010-01-20 21:10 ` Jan Kratochvil
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=m3iqawze1p.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.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