* 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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user