summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas Noble <pixel@nobis-crew.org>2013-08-01 15:49:06 -0700
committerNicolas Noble <pixel@nobis-crew.org>2013-08-01 15:49:06 -0700
commit4423441cc3f5f80b5e0f6d24dfe8b69828f67ab4 (patch)
tree6c4b64a2de13a3768b0d74def8fa3337963838e8 /src
parent0eed0e11c46715a3b22ca3e526078a841927963f (diff)
Minor optimisation in operationYield.
Diffstat (limited to 'src')
-rw-r--r--src/Task.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Task.cc b/src/Task.cc
index 9a00f30..8e479c3 100644
--- a/src/Task.cc
+++ b/src/Task.cc
@@ -296,7 +296,7 @@ void Balau::Task::operationYield(Events::BaseEvent * evt, enum OperationYieldTyp
if (!evt)
return;
- if ((yieldType != SIMPLE) && t->m_okayToEAgain && !evt->gotSignal()) {
+ if ((yieldType != SIMPLE) && t->m_okayToEAgain && !gotSignal) {
Printer::elog(E_TASK, "operation is throwing an exception.");
throw EAgain(evt);
}