From 4423441cc3f5f80b5e0f6d24dfe8b69828f67ab4 Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Thu, 1 Aug 2013 15:49:06 -0700 Subject: Minor optimisation in operationYield. --- src/Task.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3