From b480f2b95350b2e8d0fcbaeb40872b6effc8a291 Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Wed, 7 Aug 2013 14:37:27 -0700 Subject: Code simplification. This just would bounce the same exception anyway. --- includes/Task.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes') 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::get() { } catch (EAgain & e) { m_evt = e.getEvent(); - Task::operationYield(m_evt, Task::INTERRUPTIBLE); + throw; } } } @@ -319,7 +319,7 @@ void Future::run() { } catch (EAgain & e) { m_evt = e.getEvent(); - Task::operationYield(m_evt, Task::INTERRUPTIBLE); + throw; } } } -- cgit v1.2.3