mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Update.
* pthread_create.c (deallocate_tsd): Reset found_nonzero at the beginning of the loop. Clear the entire first block of TSD.
This commit is contained in:
parent
12fd3c5f66
commit
c5acd3d77e
@ -1 +1 @@
|
||||
NPTL 0.23 by Ulrich Drepper
|
||||
NPTL 0.24 by Ulrich Drepper
|
||||
|
@ -1,7 +1,7 @@
|
||||
2003-02-20 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* pthread_create.c (deallocate_tsd): Clear the entire first block
|
||||
of TSD.
|
||||
* pthread_create.c (deallocate_tsd): Reset found_nonzero at the
|
||||
beginning of the loop. Clear the entire first block of TSD.
|
||||
* Makefile (tests): Add tst-key4.
|
||||
* tst-key4.c: New file.
|
||||
|
||||
|
@ -124,6 +124,9 @@ deallocate_tsd (struct pthread *pd)
|
||||
size_t cnt;
|
||||
size_t idx;
|
||||
|
||||
/* So far no new nonzero data entry. */
|
||||
found_nonzero = false;
|
||||
|
||||
for (cnt = idx = 0; cnt < PTHREAD_KEY_1STLEVEL_SIZE; ++cnt)
|
||||
if (pd->specific[cnt] != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user