* cygthread.cc (cygthread::stub): Make diagnostic output more informative.

This commit is contained in:
Christopher Faylor 2004-12-22 17:10:19 +00:00
parent 9bc36097c9
commit 16bd231ec6
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-12-22 Christopher Faylor <cgf@timesys.com>
* cygthread.cc (cygthread::stub): Make diagnostic output more informative.
2004-12-22 Christopher Faylor <cgf@timesys.com> 2004-12-22 Christopher Faylor <cgf@timesys.com>
* pinfo.cc (proc_waiter): Zero wait_thread in child to avoid races with * pinfo.cc (proc_waiter): Zero wait_thread in child to avoid races with

View File

@ -54,8 +54,9 @@ cygthread::stub (VOID *arg)
while (1) while (1)
{ {
if (!info->__name) const char *name = info->__name;
system_printf ("erroneous thread activation"); if (!name)
system_printf ("erroneous thread activation, name is non-NULL '%s'", name);
else else
{ {
if (!info->func || exiting) if (!info->func || exiting)