From 6b4686a534c10cc9011c9d352d1b57d5a76d5579 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 2 Apr 2003 03:51:24 +0000 Subject: Update. 2003-04-01 Ulrich Drepper * 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/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/Makefile') diff --git a/nptl/Makefile b/nptl/Makefile index c352216421..96320cf686 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -145,7 +145,7 @@ tests = tst-attr1 tst-attr2 \ tst-kill1 tst-kill2 tst-kill3 tst-kill4 tst-kill5 tst-kill6 \ tst-join1 tst-join2 tst-join3 tst-join4 tst-join5 \ tst-eintr1 \ - tst-tsd1 tst-tsd2 \ + tst-tsd1 tst-tsd2 tst-tsd3 \ tst-tls1 tst-tls2 \ tst-fork1 tst-fork2 tst-fork3 tst-fork4 \ tst-atfork1 \ -- cgit v1.2.3