summaryrefslogtreecommitdiff
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2015-08-11 12:34:22 -0700
committerTom Cherry <tomcherry@google.com>2015-08-21 10:14:43 -0700
commit53e09b52497ecfed37ddb323995a23f1b935fbd7 (patch)
tree360466a1c1251a77cf48e0c08d23fc55fdc9de09 /init/builtins.cpp
parent421a0206442261cacef2c1f3722e69c729c40eb4 (diff)
init: Queue Triggers instead of Actions
When init queues a trigger, it actually enqueues all of the Actions that match with that given trigger. This works currently because all init scripts are loaded and therefore all Actions are available before init starts queueing any triggers. To support loading init scripts after init has started queueing triggers, this change enqueues Trigger objects instead of their matching Actions. Each Trigger object then matches its associated Actions during its execution. Additionally, this makes a few cosmetic clean ups related to triggers. Bug: 23186545 Change-Id: I5d177458e6df1c4b32b1072cf77e87ef952c87e4
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions