summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2007-05-03 07:48:24 -0400
committerRay Strode <rstrode@redhat.com>2007-05-03 07:48:24 -0400
commit619d7087f32cd6634f1f70fa1a78581ee1de1624 (patch)
treec7bee730f48654a1efca076e7f5a8653f729e764
parent0cee333b2ffdf62d9beb02f822d2d042468836f2 (diff)
add random thought about dependent actions
-rw-r--r--KEEPING-PROGRAMS-LINEAR9
1 files changed, 8 insertions, 1 deletions
diff --git a/KEEPING-PROGRAMS-LINEAR b/KEEPING-PROGRAMS-LINEAR
index fe66495..aefceb0 100644
--- a/KEEPING-PROGRAMS-LINEAR
+++ b/KEEPING-PROGRAMS-LINEAR
@@ -216,4 +216,11 @@ actions at the end of the chain to do the clean up?
Might need some experimentation to see.
Also, it should be possible to chain transactions together
-(treat an transaction as an action)
+(treat an transaction as an action).
+
+add_action should be callable from within an action as well.
+If that happens then the action should get inserted into the action
+queue before the current action and the current action pointer should
+get rewound. Rollback handling needs to be thought through in this scenario.
+Depending on the order things should get run, we may want to keep the actions
+in a tree so we can track depending information.