diff options
| author | Colin Cross <ccross@android.com> | 2013-03-07 13:42:29 -0800 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2013-03-07 13:44:59 -0800 |
| commit | a5064626de3e46eed88534f728b01d17d2ae99b7 (patch) | |
| tree | b61e01e4b16956b90f119c516e6309dec41b7a05 /trusty/coverage/coverage_test.cpp | |
| parent | 4c8c35d06ce6a673c6e015b809f94da0083cd4cc (diff) | |
init: prevent action being added to the action_queue twice
Property triggers may cause an action to be queued twice, resulting
in a loop in the action queue. Keep actions that are not on the queue
in the list_empty state (act->qlist->next == act->qlist), and only
add them to the list if they are in that state.
Bug: 8335133
Change-Id: I3a3ec18176cf19cbaa3a45220a03c7560eacfe79
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
