aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assert/Depend1
-rw-r--r--iconvdata/Depend1
-rw-r--r--intl/Depend1
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/Examples/ex6.c6
5 files changed, 12 insertions, 1 deletions
diff --git a/assert/Depend b/assert/Depend
new file mode 100644
index 0000000..e35d325
--- /dev/null
+++ b/assert/Depend
@@ -0,0 +1 @@
+iconvdata
diff --git a/iconvdata/Depend b/iconvdata/Depend
new file mode 100644
index 0000000..401deb5
--- /dev/null
+++ b/iconvdata/Depend
@@ -0,0 +1 @@
+iconv
diff --git a/intl/Depend b/intl/Depend
new file mode 100644
index 0000000..e35d325
--- /dev/null
+++ b/intl/Depend
@@ -0,0 +1 @@
+iconvdata
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index c948fe3..c4236bd 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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.
diff --git a/linuxthreads/Examples/ex6.c b/linuxthreads/Examples/ex6.c
index 15914ce..05f92b6 100644
--- a/linuxthreads/Examples/ex6.c
+++ b/linuxthreads/Examples/ex6.c
@@ -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;