* cygheap.cc (init_cygheap::find_tls): Add a comment.

* dcrt0.cc (parent_sigmask): Delete.
(dll_crt0_1): Use spawn_info->moreinfo->sigmask rather than saved parent signal
mask.
* thread.cc (pthread::thread_init_wrapper): Add comment stressing the
importance of maintaining ordering of statements.
This commit is contained in:
Christopher Faylor
2013-04-07 23:53:00 +00:00
parent 4537e80a3a
commit f653639a22
4 changed files with 16 additions and 6 deletions

View File

@@ -628,6 +628,7 @@ init_cygheap::find_tls (int sig, bool& issig_wait)
else
{
ix = -1;
/* Scan thread list looking for valid signal-delivery candidates */
while (++ix < (int) nthreads)
if (!threadlist[ix]->tid)
continue;