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
commitcb716f976b078dff72aa3a61f9435d45e4beb9f5 (patch)
tree360466a1c1251a77cf48e0c08d23fc55fdc9de09 /init/builtins.cpp
parent20391b1de5aaa49657d625fe18a36d4484c6ac31 (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