This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] testsuite: Fix a race by me - watchthreads-reorder.exp


On Wed, 20 Jan 2010 22:01:22 +0100, Tom Tromey wrote:
> >>>>> "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.

Checked-in:
	http://sourceware.org/ml/gdb-cvs/2010-01/msg00182.html


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]