summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/Task.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/Task.h b/includes/Task.h
index a8702b4..6fa2161 100644
--- a/includes/Task.h
+++ b/includes/Task.h
@@ -302,7 +302,7 @@ R Future<R>::get() {
}
catch (EAgain & e) {
m_evt = e.getEvent();
- Task::operationYield(m_evt, Task::INTERRUPTIBLE);
+ throw;
}
}
}
@@ -319,7 +319,7 @@ void Future<R>::run() {
}
catch (EAgain & e) {
m_evt = e.getEvent();
- Task::operationYield(m_evt, Task::INTERRUPTIBLE);
+ throw;
}
}
}