OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pth_lib.c versions 1.53 and 1.54
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/pth/pth_lib.c 1.53 -> 1.54

--- pth_lib.c    2002/10/24 15:21:13     1.53
+++ pth_lib.c    2002/11/03 11:15:04     1.54
@@ -239,6 +239,7 @@
         t->prio        = attr->a_prio;
         t->joinable    = attr->a_joinable;
         t->cancelstate = attr->a_cancelstate;
+        t->dispatches  = attr->a_dispatches;
         pth_util_cpystrn(t->name, attr->a_name, PTH_TCB_NAMELEN);
     }
     else if (pth_current != NULL) {
@@ -246,6 +247,7 @@
         t->prio        = pth_current->prio;
         t->joinable    = pth_current->joinable;
         t->cancelstate = pth_current->cancelstate;
+        t->dispatches  = 0;
         pth_snprintf(t->name, PTH_TCB_NAMELEN, "%s.child@%d=0x%lx",
                      pth_current->name, (unsigned int)time(NULL),
                      (unsigned long)pth_current);
@@ -255,6 +257,7 @@
         t->prio        = PTH_PRIO_STD;
         t->joinable    = TRUE;
         t->cancelstate = PTH_CANCEL_DEFAULT;
+        t->dispatches  = 0;
         pth_snprintf(t->name, PTH_TCB_NAMELEN,
                      "user/%x", (unsigned int)time(NULL));
     }

CVSTrac 2.0.1