mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-04 03:22:14 +03:00
Update.
* Makefile (tests): Add tst-locale1. If buid-static is yes link statically. * tst-locale1.c: New file.
This commit is contained in:
@@ -14,6 +14,10 @@
|
|||||||
|
|
||||||
2002-12-02 Ulrich Drepper <drepper@redhat.com>
|
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>.
|
* pthread_cond_timedwait.c: Include <stdlib.h>.
|
||||||
|
|
||||||
* Makefile (tests): Add tst-fork2 and tst-fork3.
|
* Makefile (tests): Add tst-fork2 and tst-fork3.
|
||||||
|
@@ -132,7 +132,8 @@ tests = tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex5 tst-mutex6 \
|
|||||||
tst-exec1 tst-exec2 tst-exec3 \
|
tst-exec1 tst-exec2 tst-exec3 \
|
||||||
tst-exit1 \
|
tst-exit1 \
|
||||||
tst-stack1 \
|
tst-stack1 \
|
||||||
tst-unload
|
tst-unload \
|
||||||
|
tst-locale1
|
||||||
|
|
||||||
LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst
|
LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst
|
||||||
|
|
||||||
@@ -155,6 +156,10 @@ endif
|
|||||||
|
|
||||||
include ../Rules
|
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
|
# 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.
|
# link script. It contains references for the various libraries we need.
|
||||||
# The libc.so object is not complete since some functions are only defined
|
# The libc.so object is not complete since some functions are only defined
|
||||||
|
18
nptl/TODO
18
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
|
- test with threaded process terminating and semadj (?) being applied
|
||||||
only after all threads are gone
|
only after all threads are gone
|
||||||
|
|
||||||
|
|
||||||
- raise sends the signal to calling thread or process?
|
- system() is cancelable. What happens to the child process? It probably
|
||||||
|
should be killed.
|
||||||
|
|
||||||
|
The signal handler setting is a process resource. Setting and resetting
|
||||||
|
it from multiple thread must be possible.
|
||||||
|
|
||||||
|
|
||||||
|
- the syscall wrapping code should really be in libc
|
||||||
|
Reference in New Issue
Block a user