From: Ulrich Drepper Date: Tue, 3 Dec 2002 06:27:43 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_3_2~667 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c22b52fa115b51b843c4bd5f1fdfec680693cf73;p=glibc.git Update. * Makefile (tests): Add tst-locale1. If buid-static is yes link statically. * tst-locale1.c: New file. --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 537c59878a..d2202f2b64 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -14,6 +14,10 @@ 2002-12-02 Ulrich Drepper + * Makefile (tests): Add tst-locale1. If buid-static is yes link + statically. + * tst-locale1.c: New file. + * pthread_cond_timedwait.c: Include . * Makefile (tests): Add tst-fork2 and tst-fork3. diff --git a/nptl/Makefile b/nptl/Makefile index 58e1b3d794..5ae8896131 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -132,7 +132,8 @@ tests = tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex5 tst-mutex6 \ tst-exec1 tst-exec2 tst-exec3 \ tst-exit1 \ tst-stack1 \ - tst-unload + tst-unload \ + tst-locale1 LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst @@ -155,6 +156,10 @@ endif include ../Rules +ifeq ($(build-static),yes) +tests-static += tst-locale1 +endif + # What we install as libc.so for programs to link against is in fact a # link script. It contains references for the various libraries we need. # The libc.so object is not complete since some functions are only defined diff --git a/nptl/TODO b/nptl/TODO index 09392b1f88..a742c85cbf 100644 --- a/nptl/TODO +++ b/nptl/TODO @@ -8,17 +8,15 @@ sys_futex -- in case a thread calls 'fork' the stacks of all the other threads in - the child process are currently list. Instead they should be recovered - and added to the stack cache. This can be done by adding another global - list (maybe one per cluster) which lists all running threads and which - is processed by the child branch of fork. All the stacks are simply - added to the stack cache. +- test with threaded process terminating and semadj (?) being applied + only after all threads are gone +- system() is cancelable. What happens to the child process? It probably + should be killed. -- test with threaded process terminating and semadj (?) being applied - only after all threads are gone + The signal handler setting is a process resource. Setting and resetting + it from multiple thread must be possible. -- raise sends the signal to calling thread or process? +- the syscall wrapping code should really be in libc