On Tuesday 12 July 2005 17:52, Tim Mooney wrote:
I liked most of the original proposal, and I'm not sure what the Wiki
page that replaced it is trying to say. I don't understand how the
PROC field, a blanket command to process the record, is replaceable
by a 'processState' field, which seems not to be a command but merely
a state indicator. If it is a command, I don't think it helps very
much, because it would require an outside agent to know too much
about how the target record operates. I don't think we can guess in
advance all the states a record might actually be in anyway.
I think the 'processState' is not to replace PROC (a command field) but
rather to replace PACT (a status field). That is, the record's process
routine decides what to do depending on the current processState. Thus,
whenever record processing would want to suspend operation in order to
wait for an event, it would set processState and return to the caller.
It's a generalization of the way the PACT field is handled in V3.
Marty, please correct me if this is wrong.