diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/TaskMan.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/TaskMan.cc b/lib/TaskMan.cc index ee7958b..48cead4 100644 --- a/lib/TaskMan.cc +++ b/lib/TaskMan.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: TaskMan.cc,v 1.54 2008-02-18 09:55:08 pixel Exp $ */ +/* $Id: TaskMan.cc,v 1.55 2008-02-18 10:00:21 pixel Exp $ */ #ifndef _WIN32 #include <signal.h> @@ -587,9 +587,8 @@ void TaskMan::MainLoop() throw (GeneralException) { if (t->Yielded()) { t->Unyield(); - } - - got_yield = true; + got_yield = true; + } } /* Let's compute the nearest timeout, and run a round trip for expired timeouts. */ |