aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-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 b640669..aef77ed 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 8ad7454..11a09f0 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);
}