From f29524bb7a37db02f5c98854f76e855dbafa6575 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 5 Aug 2013 02:44:56 +0200 Subject: Relaxing the simple context rules a bit. --- src/Task.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Task.cc') diff --git a/src/Task.cc b/src/Task.cc index ed03532..345d310 100644 --- a/src/Task.cc +++ b/src/Task.cc @@ -301,6 +301,7 @@ void Balau::Task::operationYield(Events::BaseEvent * evt, enum OperationYieldTyp return; if ((yieldType != SIMPLE) && t->m_okayToEAgain && !gotSignal && doEAgain) { + AAssert(!t->m_cannotEAgain, "task at %p in simple context mode can't EAgain", t); Printer::elog(E_TASK, "operation is throwing an EAgain exception with event %p", evt); throw EAgain(evt); } -- cgit v1.2.3