summaryrefslogtreecommitdiff
path: root/src/Task.cc
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-10-14 21:55:56 -0700
committerPixel <pixel@nobis-crew.org>2011-10-14 21:55:56 -0700
commit953a4572e09a05dab4487b75eeb1f267b9e22c3a (patch)
tree5560bb6542d556777b54d590cb355d95a09cbb27 /src/Task.cc
parentae657c4c8358b66d1ef867b8f90b1eaebaaa71ea (diff)
Fixing a few bugs.
-) The IO class needed an assignment operator, as well as the ability to NOT contain a Handle. -) The Task Manager wasn't properly starting up pending tasks that got added during startup.
Diffstat (limited to 'src/Task.cc')
-rw-r--r--src/Task.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Task.cc b/src/Task.cc
index d31f4e0..771063e 100644
--- a/src/Task.cc
+++ b/src/Task.cc
@@ -52,7 +52,6 @@ void Balau::Task::coroutine(void * arg) {
}
void Balau::Task::switchTo() {
- m_status = RUNNING;
void * oldTLS = g_tlsManager->getTLS();
g_tlsManager->setTLS(m_tls);
coro_transfer(&m_taskMan->m_returnContext, &m_ctx);