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.
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
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
-- 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