Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 2 Apr 2003 03:51:24 +0000 (03:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 2 Apr 2003 03:51:24 +0000 (03:51 +0000)
commit6b4686a534c10cc9011c9d352d1b57d5a76d5579
treef83ff4ca255084c741620875883da8ce4823d7a5
parentfa36efe8931c7e0dc8c7bf6973d97de32bddd6d4
Update.

2003-04-01  Ulrich Drepper  <drepper@redhat.com>

* pthread_create.c (deallocate_tsd): Clear/free memory after the last
round, not the first.  Use specific_used flag instead of local
found_nonzero variable.  Use THREAD_[SG]ETMEM where possible.
(__free_tcb): Don't call deallocate_tsd here.
(start_thread): Call deallocate_tsd here.
* pthread_setspecific.c: Set specific_used flag really only when
needed.
* Makefile (tests): Add tst-tsd3.c
* tst-tsd3.c: New file.
nptl/ChangeLog
nptl/Makefile
nptl/pthread_create.c
nptl/pthread_setspecific.c
nptl/tst-tsd3.c [new file with mode: 0644]