You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
318 B
12 lines
318 B
--- testThreads.c.orig 2009-09-11 18:09:00.268640135 +0200
|
|
+++ testThreads.c 2009-09-11 18:12:43.412653512 +0200
|
|
@@ -107,7 +107,7 @@
|
|
|
|
for (i = 0; i < num_threads; i++) {
|
|
results[i] = NULL;
|
|
- tid[i] = (pthread_t) -1;
|
|
+ memset(&tid[i], 0, sizeof(pthread_t));
|
|
}
|
|
|
|
for (i = 0; i < num_threads; i++) {
|