* cygthread.cc (cygthread::stub): Make diagnostic output more informative.
This commit is contained in:
parent
9bc36097c9
commit
16bd231ec6
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue