diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-02-27 18:48:23 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-02-27 18:48:23 +0000 |
commit | 5b967901c5e4ac6f4d4e0df081e72246ca9056ff (patch) | |
tree | 279a5d61953296cce6af528a82c55216831d747e /gdb/testsuite/gdb.threads/fork-thread-pending.c | |
parent | 6447023f098c9c9eb5fc4739cd81457aa93fcf7d (diff) | |
download | binutils-5b967901c5e4ac6f4d4e0df081e72246ca9056ff.zip binutils-5b967901c5e4ac6f4d4e0df081e72246ca9056ff.tar.gz binutils-5b967901c5e4ac6f4d4e0df081e72246ca9056ff.tar.bz2 |
gdb/testsuite/
* gdb.threads/fork-thread-pending.c (main): Add alarm.
Diffstat (limited to 'gdb/testsuite/gdb.threads/fork-thread-pending.c')
-rw-r--r-- | gdb/testsuite/gdb.threads/fork-thread-pending.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/fork-thread-pending.c b/gdb/testsuite/gdb.threads/fork-thread-pending.c index 43188bd..1c06c0b 100644 --- a/gdb/testsuite/gdb.threads/fork-thread-pending.c +++ b/gdb/testsuite/gdb.threads/fork-thread-pending.c @@ -94,6 +94,8 @@ main (void) int args[NUMTHREADS]; int i, j; + alarm (600); + i = pthread_barrier_init (&barrier, NULL, NUMTHREADS); assert (i == 0); |