mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
Update.
2000-06-12 Ulrich Drepper <drepper@redhat.com> * Examples/ex6.c: Test return value of pthread_join.
This commit is contained in:
parent
a21cd9d193
commit
a5b97402f7
1
assert/Depend
Normal file
1
assert/Depend
Normal file
@ -0,0 +1 @@
|
|||||||
|
iconvdata
|
1
iconvdata/Depend
Normal file
1
iconvdata/Depend
Normal file
@ -0,0 +1 @@
|
|||||||
|
iconv
|
1
intl/Depend
Normal file
1
intl/Depend
Normal file
@ -0,0 +1 @@
|
|||||||
|
iconvdata
|
@ -1,3 +1,7 @@
|
|||||||
|
2000-06-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* Examples/ex6.c: Test return value of pthread_join.
|
||||||
|
|
||||||
2000-06-11 Geoff Keating <geoffk@cygnus.com>
|
2000-06-11 Geoff Keating <geoffk@cygnus.com>
|
||||||
|
|
||||||
* sysdeps/powerpc/pspinlock.c (__pthread_spin_lock): Implement.
|
* sysdeps/powerpc/pspinlock.c (__pthread_spin_lock): Implement.
|
||||||
|
@ -34,7 +34,11 @@ main (void)
|
|||||||
printf ("count = %lu\n", count);
|
printf ("count = %lu\n", count);
|
||||||
}
|
}
|
||||||
/* pthread_detach (thread); */
|
/* pthread_detach (thread); */
|
||||||
pthread_join (thread, NULL);
|
if (pthread_join (thread, NULL) != 0)
|
||||||
|
{
|
||||||
|
printf ("join failed, count %lu\n", count);
|
||||||
|
return 2;
|
||||||
|
}
|
||||||
usleep (10);
|
usleep (10);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user