Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: gdb/testsuite/gdb.threads/pthread_cond_wait.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.threads/print-threads.exp ('k') | gdb/testsuite/gdb.threads/pthread_cond_wait.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.threads/pthread_cond_wait.c
diff --git a/gdb/testsuite/gdb.threads/pthread_cond_wait.c b/gdb/testsuite/gdb.threads/pthread_cond_wait.c
index ee6ab2f642104cc8c5a9ff7854d065ebf7f5826a..3c28e13a7b97156c7b7390d7db4c609354321a2f 100644
--- a/gdb/testsuite/gdb.threads/pthread_cond_wait.c
+++ b/gdb/testsuite/gdb.threads/pthread_cond_wait.c
@@ -1,6 +1,6 @@
/* A small multi-threaded test case.
- Copyright 2004, 2007-2012 Free Software Foundation, Inc.
+ Copyright 2004-2013 Free Software Foundation, Inc.
This file is part of GDB.
@@ -59,12 +59,11 @@ int
main (void)
{
pthread_t forever;
- const struct timespec ts = { 0, 10000000 }; /* 0.01 sec */
pthread_create (&forever, NULL, forever_pthread, NULL);
for (;;)
{
- nanosleep (&ts, NULL);
+ sleep (2);
break_me();
}
« no previous file with comments | « gdb/testsuite/gdb.threads/print-threads.exp ('k') | gdb/testsuite/gdb.threads/pthread_cond_wait.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698