OSDN Git Service

* cygthread.cc (cygthread::stub): Make diagnostic output more informative.
authorcgf <cgf>
Wed, 22 Dec 2004 17:10:19 +0000 (17:10 +0000)
committercgf <cgf>
Wed, 22 Dec 2004 17:10:19 +0000 (17:10 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/cygthread.cc

index 364f8c3..99a6e54 100644 (file)
@@ -1,5 +1,9 @@
 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>
+
        * pinfo.cc (proc_waiter): Zero wait_thread in child to avoid races with
        process termination.
        * cygthread.cc (cygthread::terminate): Clumsily detect when h has gone away
index 80fc5e0..55f745a 100644 (file)
@@ -54,8 +54,9 @@ cygthread::stub (VOID *arg)
 
   while (1)
     {
-      if (!info->__name)
-       system_printf ("erroneous thread activation");
+      const char *name = info->__name;
+      if (!name)
+       system_printf ("erroneous thread activation, name is non-NULL '%s'", name);
       else
        {
          if (!info->func || exiting)