diff options
author | Nicolas Noble <pixel@nobis-crew.org> | 2013-08-07 14:37:27 -0700 |
---|---|---|
committer | Nicolas Noble <pixel@nobis-crew.org> | 2013-08-07 14:37:27 -0700 |
commit | b480f2b95350b2e8d0fcbaeb40872b6effc8a291 (patch) | |
tree | 4edc82f15fb9c0f6a069286d7a65e41c3741c2fa | |
parent | f7a4846ad45a7db2ffc7076689e6be607f6569ee (diff) |
Code simplification. This just would bounce the same exception anyway.
-rw-r--r-- | includes/Task.h | 4 |
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; } } } |