diff options
author | Steve Raasch <sraasch@umich.edu> | 2003-10-30 11:47:21 -0500 |
---|---|---|
committer | Steve Raasch <sraasch@umich.edu> | 2003-10-30 11:47:21 -0500 |
commit | 101aa8090a9bdf2a702bb8e17431080879a40ba1 (patch) | |
tree | 1e2119cf9afaf754c7b13737a32e991bca656af8 | |
parent | 5590c7bfa58e63c593558d8c219c908ef64e5662 (diff) | |
download | gem5-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.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 |