diff options
author | Pixel <pixel@nobis-crew.org> | 2011-11-18 11:25:22 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-11-18 11:25:22 -0800 |
commit | 52f7b28073501242dacd6409bb649fc2182cc777 (patch) | |
tree | 27bf2bb01baa6f9adde0b5cfa6cb0b79912a89cd | |
parent | da190ef39be58ff44a4ac24e8451699bd27c51f0 (diff) |
Updating libev's timestamp after we (potentially) wait a long time for something to do.
-rw-r--r-- | src/TaskMan.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/TaskMan.cc b/src/TaskMan.cc index 73bce5c..25b3eaa 100644 --- a/src/TaskMan.cc +++ b/src/TaskMan.cc @@ -257,6 +257,7 @@ void Balau::TaskMan::mainLoop() { while (((m_pendingAdd.size() != 0) || (m_tasks.size() == 0)) && !m_stopped) { t = m_pendingAdd.pop(); Assert(m_tasks.find(t) == m_tasks.end()); + ev_now_update(m_loop); t->setup(this, getStack()); m_tasks.insert(t); } |