From: Steve Raasch Date: Thu, 30 Oct 2003 16:47:21 +0000 (-0500) Subject: Add support for serialization X-Git-Tag: m5_1.0_beta2~315^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=101aa8090a9bdf2a702bb8e17431080879a40ba1;p=gem5.git Add support for serialization base/pollevent.hh: Add queued() member function to indicate if this event has been queued --HG-- extra : convert_revision : bebb04dc8e10c1043e55e0036806bd1ca4fec167 --- 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