[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/icecream-make-it-cool/services
From:       Dirk Mueller <mueller () kde ! org>
Date:       2007-07-30 21:10:11
Message-ID: 1185829811.855568.27382.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 694487 by mueller:

update debug output


 M  +9 -3      scheduler.cpp  


--- branches/work/icecream-make-it-cool/services/scheduler.cpp #694486:694487
@@ -356,8 +356,10 @@
     {
       it_old = it++;
       /* If we can't send it, don't be clever, simply close this monitor.  */
-      if (!(*it_old)->send_msg (*m, MsgChannel::SendNonBlocking))
+      if (!(*it_old)->send_msg (*m, MsgChannel::SendNonBlocking)) {
+        trace() << "monitor is blocking... removing" << endl;
         handle_end (*it_old, 0);
+      }
     }
   delete m;
 }
@@ -519,8 +521,12 @@
       dbg << "NEW " << job->id << " client="
                     << submitter->nodename << " versions=[";
       for ( Environments::const_iterator it = job->environments.begin();
-            it != job->environments.end(); ++it )
-        dbg << it->second << "(" << it->first << "), ";
+            it != job->environments.end();)
+        {
+          dbg << it->second << "(" << it->first << ")";
+          if (++it != job->environments.end())
+            dbg << ", ";
+        }
       dbg << "] " << m->filename << " " << job->language << endl;
       notify_monitors (new MonGetCSMsg (job->id, submitter->hostid, m));
       if ( !master_job )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic