From 101aa8090a9bdf2a702bb8e17431080879a40ba1 Mon Sep 17 00:00:00 2001 From: Steve Raasch Date: Thu, 30 Oct 2003 11:47:21 -0500 Subject: [PATCH] Add support for serialization base/pollevent.hh: Add queued() member function to indicate if this event has been queued --HG-- extra : convert_revision : bebb04dc8e10c1043e55e0036806bd1ca4fec167 --- base/pollevent.hh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2