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

Side by Side Diff: gdb/testsuite/gdb.threads/switch-threads.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 unified diff | Download patch
OLDNEW
1 /* A minimal multi-threaded test case. 1 /* A minimal multi-threaded test case.
2 2
3 Copyright 2003, 2007-2012 Free Software Foundation, Inc. 3 Copyright 2003-2013 Free Software Foundation, Inc.
4 4
5 This file is part of GDB. 5 This file is part of GDB.
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or 9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version. 10 (at your option) any later version.
11 11
12 This program is distributed in the hope that it will be useful, 12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 21 matching lines...) Expand all
35 { 35 {
36 pthread_t thr; 36 pthread_t thr;
37 void *ret; 37 void *ret;
38 int x; 38 int x;
39 39
40 pthread_create (&thr, NULL, thread_func, NULL); 40 pthread_create (&thr, NULL, thread_func, NULL);
41 pthread_join (thr, &ret); 41 pthread_join (thr, &ret);
42 for (x = 0; x < 10; x++) 42 for (x = 0; x < 10; x++)
43 foo (); 43 foo ();
44 } 44 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.threads/stepi-random-signal.exp ('k') | gdb/testsuite/gdb.threads/switch-threads.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698