]> git.ipfire.org Git - thirdparty/glibc.git/commit - nptl/tst-sched1.c
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 3 Aug 2003 06:47:02 +0000 (06:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 3 Aug 2003 06:47:02 +0000 (06:47 +0000)
commitf1205aa71fb0131eb9d1e2efdd5fbcfaa85ad27c
tree7459ac5d9ff530a22b4035697530a49e49ce3ff7
parent0cbc6c4eba0d6c957917e036a0822c84b92443fc
Update.

* sysdeps/pthread/createthread.c (do_clone): If __ASSUME_CLONE_STOPPED
is not defined, do explicit synchronization.
(create_thread): Do not lock pd->lock here.  If __ASSUME_CLONE_STOPPED
is not defined also unlock pd->lock for non-debugging case in case
it is necessary.
* pthread_create.c (start_thread): Always get and release pd->lock
if __ASSUME_CLONE_STOPPED is not defined.
(start_thread_debug): Removed.  Adjust users.
* allocatestack.c (allocate_stack): Always initialize lock if
__ASSUME_CLONE_STOPPED is not defined.
* Makefile (tests): Add tst-sched1.
* tst-sched1.c: New file.
nptl/ChangeLog
nptl/Makefile
nptl/allocatestack.c
nptl/pthread_create.c
nptl/sysdeps/pthread/createthread.c
nptl/tst-sched1.c [new file with mode: 0644]