OLD | NEW |
1 /* Pthreads test program. | 1 /* Pthreads test program. |
2 Copyright 1996, 2002-2004, 2007-2012 Free Software Foundation, Inc. | 2 Copyright 1996-2013 Free Software Foundation, Inc. |
3 | 3 |
4 Written by Keith Seitz of Red Hat. | 4 Written by Keith Seitz of Red Hat. |
5 Copied from gdb.threads/pthreads.c. | 5 Copied from gdb.threads/pthreads.c. |
6 Contributed by Red Hat. | 6 Contributed by Red Hat. |
7 | 7 |
8 This file is part of GDB. | 8 This file is part of GDB. |
9 | 9 |
10 This program is free software; you can redistribute it and/or modify | 10 This program is free software; you can redistribute it and/or modify |
11 it under the terms of the GNU General Public License as published by | 11 it under the terms of the GNU General Public License as published by |
12 the Free Software Foundation; either version 3 of the License, or | 12 the Free Software Foundation; either version 3 of the License, or |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 /* Create a few threads */ | 78 /* Create a few threads */ |
79 for (i = 0; i < 5; i++) | 79 for (i = 0; i < 5; i++) |
80 create_thread (); | 80 create_thread (); |
81 done_making_threads (); | 81 done_making_threads (); |
82 | 82 |
83 printf ("hello\n"); | 83 printf ("hello\n"); |
84 printf ("hello\n"); | 84 printf ("hello\n"); |
85 return 0; | 85 return 0; |
86 } | 86 } |
87 | 87 |
OLD | NEW |