]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 12 Jun 2000 19:02:02 +0000 (19:02 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 12 Jun 2000 19:02:02 +0000 (19:02 +0000)
2000-06-12  Ulrich Drepper  <drepper@redhat.com>

* Examples/ex6.c: Test return value of pthread_join.

assert/Depend [new file with mode: 0644]
iconvdata/Depend [new file with mode: 0644]
intl/Depend [new file with mode: 0644]
linuxthreads/ChangeLog
linuxthreads/Examples/ex6.c

diff --git a/assert/Depend b/assert/Depend
new file mode 100644 (file)
index 0000000..e35d325
--- /dev/null
@@ -0,0 +1 @@
+iconvdata
diff --git a/iconvdata/Depend b/iconvdata/Depend
new file mode 100644 (file)
index 0000000..401deb5
--- /dev/null
@@ -0,0 +1 @@
+iconv
diff --git a/intl/Depend b/intl/Depend
new file mode 100644 (file)
index 0000000..e35d325
--- /dev/null
@@ -0,0 +1 @@
+iconvdata
index c948fe39931f7a515e310fabb9a68c39fd48c5e3..c4236bd74800f7fd1e184bbe5cb04db03c25fa3a 100644 (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.
index 15914ce85d2d3ddaaf8970695bc65f4f0f5615af..05f92b6a71f994c091846bee662424d16978ba19 100644 (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;