summary refs log tree commit diff
path: root/linuxthreads/Examples
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 /linuxthreads/Examples
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.
Diffstat (limited to 'linuxthreads/Examples')
-rw-r--r--linuxthreads/Examples/ex4.c2
1 files changed, 1 insertions, 1 deletions
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);
 }