summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygheap.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-04-07 23:53:00 +0000
committerChristopher Faylor <me@cgf.cx>2013-04-07 23:53:00 +0000
commitf653639a220ce0a09f25e83d8be452cb45560d9b (patch)
treeb14ab19c0ed9c139e51381af8fe16087aa1cf33c /winsup/cygwin/cygheap.cc
parent4537e80a3a29304d6dbd01bdb44847538913fb61 (diff)
downloadcygnal-f653639a220ce0a09f25e83d8be452cb45560d9b.tar.gz
cygnal-f653639a220ce0a09f25e83d8be452cb45560d9b.tar.bz2
cygnal-f653639a220ce0a09f25e83d8be452cb45560d9b.zip
* 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.
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r--winsup/cygwin/cygheap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
index 7ac30122b..90873215b 100644
--- a/winsup/cygwin/cygheap.cc
+++ b/winsup/cygwin/cygheap.cc
@@ -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;