projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5590c7b
)
Add support for serialization
author
Steve Raasch
<sraasch@umich.edu>
Thu, 30 Oct 2003 16:47:21 +0000
(11:47 -0500)
committer
Steve Raasch
<sraasch@umich.edu>
Thu, 30 Oct 2003 16:47:21 +0000
(11:47 -0500)
base/pollevent.hh:
Add queued() member function to indicate if this event has been queued
--HG--
extra : convert_revision :
bebb04dc8e10c1043e55e0036806bd1ca4fec167
base/pollevent.hh
patch
|
blob
|
history
diff --git
a/base/pollevent.hh
b/base/pollevent.hh
index 7ae37398cb77e0eb372e8001d10c093fa4486fa6..393c53996ec3d9d9df2212338521c33439063d94 100644
(file)
--- 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