Commit 200bd824 authored by dtmuller's avatar dtmuller

Add missing isRunnable implementation

parent 8e0686e1
...@@ -288,6 +288,10 @@ bool EventLoop::turn() { ...@@ -288,6 +288,10 @@ bool EventLoop::turn() {
} }
} }
bool EventLoop::isRunnable() {
return head != nullptr;
}
void EventLoop::setRunnable(bool runnable) { void EventLoop::setRunnable(bool runnable) {
if (runnable != lastRunnableState) { if (runnable != lastRunnableState) {
port.setRunnable(runnable); port.setRunnable(runnable);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment