2000-06-12  Ulrich Drepper  <drepper@redhat.com>

	* Examples/ex6.c: Test return value of pthread_join.
This commit is contained in:
Ulrich Drepper
2000-06-12 19:02:02 +00:00
parent a21cd9d193
commit a5b97402f7
5 changed files with 12 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
iconvdata
+1
View File
@@ -0,0 +1 @@
iconv
+1
View File
@@ -0,0 +1 @@
iconvdata
+4
View File
@@ -1,3 +1,7 @@
2000-06-12 Ulrich Drepper <drepper@redhat.com>
* Examples/ex6.c: Test return value of pthread_join.
2000-06-11 Geoff Keating <geoffk@cygnus.com>
* sysdeps/powerpc/pspinlock.c (__pthread_spin_lock): Implement.
+5 -1
View File
@@ -34,7 +34,11 @@ main (void)
printf ("count = %lu\n", count);
}
/* pthread_detach (thread); */
pthread_join (thread, NULL);
if (pthread_join (thread, NULL) != 0)
{
printf ("join failed, count %lu\n", count);
return 2;
}
usleep (10);
}
return 0;