Prune text!

> Forgive my ignorance here, but why is the limit event set up each time
> simulate is called? Couldn't it just be a member of the event queue
> class and always stuck at the end and left there?

Well, it used to be because we only checked a single variable
"async_event" in every iteration of the while loop.  We don't want to
have to check both that pointer and the fact that the eventqueue head
is not null.  What should really happen is that exit events should set
async_event, and we should check withing the if (async_event) {} block
see if the reason was an exit_event.  In reality serviceOne() does
extra checks and we should fix it all so that those extra checks are
not in there.

  Nate
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to