summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Raasch <sraasch@umich.edu>2003-10-30 11:47:21 -0500
committerSteve Raasch <sraasch@umich.edu>2003-10-30 11:47:21 -0500
commit101aa8090a9bdf2a702bb8e17431080879a40ba1 (patch)
tree1e2119cf9afaf754c7b13737a32e991bca656af8
parent5590c7bfa58e63c593558d8c219c908ef64e5662 (diff)
downloadgem5-101aa8090a9bdf2a702bb8e17431080879a40ba1.tar.xz
Add support for serialization
base/pollevent.hh: Add queued() member function to indicate if this event has been queued --HG-- extra : convert_revision : bebb04dc8e10c1043e55e0036806bd1ca4fec167
-rw-r--r--base/pollevent.hh2
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