[AGENT++] how to remove not longer needed rows from a table while update()?
Jens Rehsack
rehsack at googlemail.com
Mon Nov 8 00:34:38 CET 2010
2010/11/7 Claus Klein <claus.klein at arcormail.de>:
> Hi,
Hi Claus,
[snip]
> I have to questions:
> 1.) The cur loop iterater crashes if I continue after remove_row(). Is
> there a better way to do it?
I can neither say whether it's better nor if it's recommended, but
we had similar problems to solve while updating some tables (e.g.
ProcessTable).
We decided (with knowledge about row/column addressing of tables)
to rebuild the entire table and replace the objects on updating.
This leads to small timing race conditions when a requestor fetches
inconsistent rows, but our requestors can deal with those conditions.
Best regards,
Jens
More information about the AGENTPP
mailing list