[EMAIL PROTECTED] wrote on Mon, 24 Jul 2006 14:47 -0400:
> 3) the state machine language has a keyword that lets you state that the
> next state is "terminate" which could be used to finish the state
> machine, but right now the code has logic that detects this and prints a
> warning that you should NOT use this. I don't know why we created this
> method and then made it illegal. Go figure!
I prefer #3 by a large margin over the other options. It's
explicit, not racy, doesn't over-use the return value for a
conceptually different event, and doesn't rely on modifying
parent state. Wonder why it was disabled.
Regarding names, STATE_COMPLETE and STATE_MACHINE_TERMINATED seem
like find candidates as you have sort of suggested.
My pocket change.
-- Pete
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers