about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/Makefile7
-rw-r--r--nptl/TODO16
3 files changed, 17 insertions, 10 deletions
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  <drepper@redhat.com>
 
+	* Makefile (tests): Add tst-locale1.  If buid-static is yes link
+	statically.
+	* tst-locale1.c: New file.
+
 	* pthread_cond_timedwait.c: Include <stdlib.h>.
 
 	* 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