From 9fbdf0250fd385b711a84a8fb3dcc2df1463436a Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 20 Dec 2001 12:21:57 +0000 Subject: Some changes... --- lib/TaskMan.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/TaskMan.cc') diff --git a/lib/TaskMan.cc b/lib/TaskMan.cc index 89f27f8..be66df3 100644 --- a/lib/TaskMan.cc +++ b/lib/TaskMan.cc @@ -155,6 +155,8 @@ void TaskMan::MainLoop() throw (GeneralException) { /* First, we will check for any burning task and run 'em */ for (TaskList_t::iterator p = TaskList.begin(); p && (p != TaskList.end()); p++) { Task * t = *p; + +// cerr << "-=- TaskMan: task " << t->GetName() << endl; if (t->GetState() == TASK_BURST) { // cerr << "-=- TaskMan: running burning task " << t->GetName() << endl; @@ -202,6 +204,7 @@ void TaskMan::MainLoop() throw (GeneralException) { } else { p->T->SetBurst(); no_burst = 0; + p->dirthy = true; if (!(p->flags & W4_STICKY)) { w4ha.erase(p); p--; -- cgit v1.2.3