Re: [Gems-users] how to wake up a SLICC object


Date: Fri, 16 Mar 2007 09:51:45 +0800
From: "hongxia sun" <sunhx.seraph@xxxxxxxxx>
Subject: Re: [Gems-users] how to wake up a SLICC object
MandatoryQueue is also a kind of MessageBuffer.
 
You can add an debug info in isReady() of MessageBuffer.h to trace whether it is caused by the empty queue or the msg.time violation. If it is caused by the msg.time, it might be the queue is set "order=true" and there is two msg enqueue in fifo but their enqueue delay time violate the fifo order.


 
2007/3/16, Dave Z. <zhu_dave@xxxxxxxxx>:
Thanks for your quick reply, Greg!

The queue I've created is not of type MessageBuffer.
So, I'm guessing it is the mandatoryQueue. What could
cause the mandatoryQueue to be empty?

Thanks,

Dave


--- Greg Byrd <gbyrd@xxxxxxxx> wrote:

> It means that the queue you're peeking on is empty.
> The call to
> isReady() returns false, because there's nothing on
> the queue.
>
> ...Greg
>
> Dave Z. wrote:
> > Hello,
> >
> > I have a question regarding the interaction
> between
> > Ruby and SLICC objects. My object has an inport
> > associated with it, but I would like to wake it up
> by
> > scheduling an absolute event (just like the Demo
> > Prefetcher). I'm getting "failed assertion
> 'isReady()'
> > at fn const Message*
> > MessageBuffer::peekAtHeadOfQueue() const in
> > buffers/MessageBuffer.C:167". I'm wondering if
> this
> > error has anything to do with the way I interact
> with
> > my object. Any comments will be greatly
> appreciated.
> >
> > Thanks,
> >
> > Dave
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Need Mail bonding?
> > Go to the Yahoo! Mail Q&A for great tips from
> Yahoo! Answers users.
> >
>
http://answers.yahoo.com/dir/?link=list&sid=396546091
> > _______________________________________________
> > Gems-users mailing list
> > Gems-users@xxxxxxxxxxx
> >
>
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> > Use Google to search the GEMS Users mailing list
> by adding
> "site:https://lists.cs.wisc.edu/archive/gems-users/"
> to your search.
> >
> >
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
>
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by
> adding
> "site:https://lists.cs.wisc.edu/archive/gems-users/ "
> to your search.
>
>




____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site: https://lists.cs.wisc.edu/archive/gems-users/" to your search.


[← Prev in Thread] Current Thread [Next in Thread→]