diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2017-03-10 20:44:53 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-03-10 20:44:53 +0100 |
commit | 48755fb9bca8ae379a6f96619b8b7774ff4b4494 (patch) | |
tree | a2e622e507e95c1eb8ff6869df79c72607a1a5fb /winsup/cygwin/how-startup-shutdown-works.txt | |
parent | 35d344babe154bde4e5dfcc01638251cc50e2e79 (diff) | |
download | cygnal-48755fb9bca8ae379a6f96619b8b7774ff4b4494.tar.gz cygnal-48755fb9bca8ae379a6f96619b8b7774ff4b4494.tar.bz2 cygnal-48755fb9bca8ae379a6f96619b8b7774ff4b4494.zip |
fork: Don't copy _main_tls->local_clib from *_impure_ptr
So far we copy *_impure_ptr into _main_tls->local_clib if the child
process has been forked from a pthread. But that's not required.
The local_clib area of the new thread is on the stack and the stack
gets copied from the parent anyway (in frok::parent). So we only
have to make sure _main_tls is pointing to the right address and
do the simple post-fork thread init.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/how-startup-shutdown-works.txt')
0 files changed, 0 insertions, 0 deletions