* cygthread.h (cygthread::cygthread): Reorganize slightly.

* dcrt0.cc (dll_crt0_0): Move sigproc initialization later to ensure everything
we need has been set up.
(dll_crt0_1): Streamline some logic slightly.
* sigproc.cc (no_signals_available): Add back dropped test for macro parameter.
* fhandler_console.cc (fhandler_console::write): Show a little bit of what's
being written to the console in debugging output.
This commit is contained in:
Christopher Faylor
2010-09-12 15:49:30 +00:00
parent 18df393573
commit 6c6eb02b33
5 changed files with 26 additions and 17 deletions

View File

@ -43,7 +43,8 @@ class cygthread
void auto_release () {func = NULL;}
void release (bool);
cygthread (LPTHREAD_START_ROUTINE start, unsigned n, LPVOID param, const char *name, HANDLE notify = NULL)
: __name (name), func (start), arglen (n), arg (param), notify_detached (notify), standalone (false)
: __name (name), func (start), arglen (n), arg (param),
notify_detached (notify), standalone (false)
{
create ();
}
@ -57,7 +58,8 @@ class cygthread
zap_h ();
}
cygthread (LPTHREAD_START_ROUTINE start, LPVOID param, const char *name, HANDLE notify = NULL)
: __name (name), func (start), arglen (0), arg (param), notify_detached (notify), standalone (false)
: __name (name), func (start), arglen (0), arg (param),
notify_detached (notify), standalone (false)
{
create ();
}