summaryrefslogtreecommitdiff
path: root/includes/StacklessTask.h
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-28 12:28:55 -0800
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-28 12:28:55 -0800
commitf43da413f0fe1ef4686fcbfa05a97af9a211d217 (patch)
tree6c860a7c3f99bda00bdca74676d1062d92985ea7 /includes/StacklessTask.h
parent9071077cbb2d4c986a456127a206e82e4e8ddbfd (diff)
Fixing stackless yield.
Diffstat (limited to 'includes/StacklessTask.h')
-rw-r--r--includes/StacklessTask.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/StacklessTask.h b/includes/StacklessTask.h
index f91ed00..9ab6b6b 100644
--- a/includes/StacklessTask.h
+++ b/includes/StacklessTask.h
@@ -64,7 +64,7 @@ class StacklessTask : public Task {
#define StacklessYield() \
m_state = __LINE__; \
try { \
- yield(true); \
+ yieldNoWait(); \
} \
catch (Balau::EAgain & e) { \
taskSwitch(); \