summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-04-03 13:11:05 -0700
committerChromeBot <chrome-bot@google.com>2013-04-04 16:32:27 -0700
commita3dcfd54ef29ac7cbd988ce94e96bcc6ba924ac6 (patch)
tree89787caadeae884edc7b7fe75810aba39c181f73 /README
parentaf4d0fb2976f5d5e9104366f4c525010cfc7489b (diff)
downloadchrome-ec-a3dcfd54ef29ac7cbd988ce94e96bcc6ba924ac6.tar.gz
Improve deferred function calls
1) Check vs. number of allowable deferred function calls is made at link time. 2) Added a check for whether hook_call_deferred() has been made after the start of calculating the time when the hook task should wake. If it has, go back and recalculate the wake time. This works around a race condition. BUG=chrome-os-partner:18473 BRANCH=none TEST=add a bunch of deferrable functions and recompile; generates a link error Change-Id: Ie833e2a699c47b6702957ed67bf7d3925f2df099 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/47266 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions