This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.threads/watcht ...
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 20 Jan 2010 21:09:31 -0000
- Subject: src/gdb/testsuite ChangeLog gdb.threads/watcht ...
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2010-01-20 21:09:30
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.threads: watchthreads-reorder.c
Log message:
gdb/testsuite/
* gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
(thread1_func): Protect thread1_tid with thread1_tid_cond by
thread1_tid_mutex. Remove gdbstop_mutex handling.
(thread2_func): Protect thread2_tid with thread2_tid_cond by
thread2_tid_mutex. Remove gdbstop_mutex handling.
(main): Move thread1_tid_mutex and thread2_tid_mutex locks before
pthread_create. Remove gdbstop_mutex handling. New comment. Replace
pthread_cond_wait conditionalizations by while loops.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2097&r2=1.2098
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.threads/watchthreads-reorder.c.diff?cvsroot=src&r1=1.2&r2=1.3