1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
1998-06-13 11:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* Examples/ex4.c (main): Use exit, not pthread_exit.
This commit is contained in:
Ulrich Drepper
1998-07-13 09:43:48 +00:00
parent a12b5dc78b
commit b1209f9065
2 changed files with 5 additions and 1 deletions

View File

@ -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);
}