summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-13 09:43:48 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-13 09:43:48 +0000
commitb1209f90659953782d856a77819be13e51ef5b5e (patch)
treee5b7d1d765582b5622c50095379605e70a8ff5d4
parenta12b5dc78b9e59cd7db665a45e8f553bd4146eed (diff)
downloadglibc-b1209f90659953782d856a77819be13e51ef5b5e.tar.gz
glibc-b1209f90659953782d856a77819be13e51ef5b5e.tar.xz
glibc-b1209f90659953782d856a77819be13e51ef5b5e.zip
Update.
1998-06-13 11:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* Examples/ex4.c (main): Use exit, not pthread_exit.
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/Examples/ex4.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index b6406691ed..aef77ed4bb 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+1998-06-13 11:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+	* Examples/ex4.c (main): Use exit, not pthread_exit.
+
 1998-07-09 13:39  Ulrich Drepper  <drepper@cygnus.com>
 
 	* Versions: Add __pthread_mutexattr_gettype and
diff --git a/linuxthreads/Examples/ex4.c b/linuxthreads/Examples/ex4.c
index 8ad7454eb8..11a09f013e 100644
--- a/linuxthreads/Examples/ex4.c
+++ b/linuxthreads/Examples/ex4.c
@@ -103,5 +103,5 @@ int main(int argc, char ** argv)
   printf("Thread %lx: \"%s\"\n", pthread_self(), res);
   pthread_join(th1, NULL);
   pthread_join(th2, NULL);
-  pthread_exit(NULL);
+  exit(0);
 }