This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.threads/fork-t ...
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 26 Dec 2011 21:37:17 -0000
- Subject: src/gdb/testsuite ChangeLog gdb.threads/fork-t ...
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2011-12-26 21:37:17
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.threads: fork-thread-pending.c
Log message:
gdb/testsuite/
Fix racy FAILs.
* gdb.threads/fork-thread-pending.c (barrier): New variable.
(thread_function, thread_forker): Call pthread_barrier_wait for it.
(main): Call pthread_barrier_init for it.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3003&r2=1.3004
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.threads/fork-thread-pending.c.diff?cvsroot=src&r1=1.3&r2=1.4