OSSP CVS Repository

ossp - Check-in [3309]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3309
Date: 2003-Mar-22 21:31:49 (local)
2003-Mar-22 20:31:49 (UTC)
User:rse
Branch:
Comment: flush out this trivial pending change in one of my Pth dev queues
Tickets:
Inspections:
Files:
ossp-pkg/pth/pth_sched.c      1.89 -> 1.90     2 inserted, 0 deleted

ossp-pkg/pth/pth_sched.c 1.89 -> 1.90

--- pth_sched.c  2003/01/01 15:49:12     1.89
+++ pth_sched.c  2003/03/22 20:31:49     1.90
@@ -358,8 +358,10 @@
          */
         if (   pth_pqueue_elements(&pth_RQ) == 0
             && pth_pqueue_elements(&pth_NQ) == 0)
+            /* still no NEW or READY threads, so we have to wait for new work */
             pth_sched_eventmanager(&snapshot, FALSE /* wait */);
         else
+            /* already NEW or READY threads exists, so just poll for even more work */
             pth_sched_eventmanager(&snapshot, TRUE  /* poll */);
     }
 

CVSTrac 2.0.1