diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Task.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/Task.h b/includes/Task.h index b5f5540..e9c2add 100644 --- a/includes/Task.h +++ b/includes/Task.h @@ -153,6 +153,7 @@ class Task { static void yield(Events::BaseEvent * evt, bool interruptible = false) throw (GeneralException); TaskMan * getTaskMan() const { return m_taskMan; } struct ev_loop * getLoop(); + bool isStackless() { return m_stackless; } protected: void yield(bool stillRunning = false) throw (GeneralException); virtual void Do() = 0; |