diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-08-03 06:47:02 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-08-03 06:47:02 +0000 |
commit | f1205aa71fb0131eb9d1e2efdd5fbcfaa85ad27c (patch) | |
tree | 7459ac5d9ff530a22b4035697530a49e49ce3ff7 /nptl/tst-clock2.c | |
parent | 0cbc6c4eba0d6c957917e036a0822c84b92443fc (diff) | |
download | glibc-f1205aa71fb0131eb9d1e2efdd5fbcfaa85ad27c.tar glibc-f1205aa71fb0131eb9d1e2efdd5fbcfaa85ad27c.tar.gz glibc-f1205aa71fb0131eb9d1e2efdd5fbcfaa85ad27c.tar.bz2 glibc-f1205aa71fb0131eb9d1e2efdd5fbcfaa85ad27c.zip |
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.
Diffstat (limited to 'nptl/tst-clock2.c')
0 files changed, 0 insertions, 0 deletions