about summary refs log tree commit diff
diff options
context:
space:
mode:
-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);
 }