diff options
-rw-r--r-- | base/pollevent.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/pollevent.hh b/base/pollevent.hh index 7ae37398c..393c53996 100644 --- a/base/pollevent.hh +++ b/base/pollevent.hh @@ -50,6 +50,8 @@ class PollEvent void disable(); void enable(); virtual void process(int revent) = 0; + + bool queued() { return queue != 0; } }; class PollQueue |