[Gems-users] triggerQueue


Date: Sun, 4 Mar 2007 10:26:31 -0800 (PST)
From: arrvindh shriraman <arrvindh_shriraman@xxxxxxxxx>
Subject: [Gems-users] triggerQueue
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
to find your fit.
[← Prev in Thread] Current Thread [Next in Thread→]