[great-users] Undefined Semantics

Abdullah Sowayan sowayaa at isis.vanderbilt.edu
Mon Jan 5 18:18:02 CST 2004


Hi Ya'll

I couldn't find the semantics of the following situation in the
documentation. Assume that I have a block (B) that has one input port.
Inside the block I have two rules (R1 and R2) each have one input port.
R1 and R2 input ports are connected to B's input port. R1 and R2 are
parallel, hence the order of their execution is undeterministic.

R1 and R2 both delete the input packet they get. Thus, if the order of
execution is R1 then R2, by R1 will delete the incoming packet; thus
when R2 executes its packet will have a null reference. R2 will try to
bind with a null reference and ultimately delete it. Is there a check
against binding against null reference (so that rule won't crash?).

If the above doesn't make sense, please contact me and I'll try to
explain it further.

Take care,
Abdul
  


More information about the great-users mailing list