Re: [Gems-users] triggerQueue


Date: Sun, 04 Mar 2007 12:42:54 -0600
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] triggerQueue
Consider adding a conditional state-changing override in setState() of your controller. Relying on a triggerQueue to change the state a cycle later may not be atomic.

--Mike


arrvindh shriraman wrote:
Can the triggerQueue entries be processed atomically with the state transition ? Let's say i am in state A and I transition to state B. I check a condition and if condition is true transtion to C instead of B.

Right now , I achieve this by enqueing a msg in the triggerQueue, popping it and moving from B -> C.

The triggerqueue entries are processed only a cycle later. So between this and the next cycle its possible for the L1 cache to process a msg since I have set L1 Cache transitions per cycle = 4. B is a stable state and so is C.


Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel <http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--> to find your fit.
------------------------------------------------------------------------

_______________________________________________
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→]