diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-15 23:18:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-15 23:18:39 +0000 |
commit | 579ecccc2244da43b9bc03fb09bb71d8a0219a8b (patch) | |
tree | 7cdcf20018fe297e56da574f7744d76692d880c0 /bitbake | |
parent | 5c4e290899e3b9cafc544c488e20ddbc2065835a (diff) | |
download | poky-579ecccc2244da43b9bc03fb09bb71d8a0219a8b.tar.gz |
bitbake/cooker: Ensure delays are accurately transfered to the idle loops from runqueue
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index e524db7498..825c357988 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -672,7 +672,7 @@ class BBCooker: | |||
672 | return False | 672 | return False |
673 | if retval is True: | 673 | if retval is True: |
674 | return True | 674 | return True |
675 | return 0.5 | 675 | return retval |
676 | 676 | ||
677 | self.server.register_idle_function(buildFileIdle, rq) | 677 | self.server.register_idle_function(buildFileIdle, rq) |
678 | 678 | ||
@@ -709,7 +709,7 @@ class BBCooker: | |||
709 | return False | 709 | return False |
710 | if retval is True: | 710 | if retval is True: |
711 | return True | 711 | return True |
712 | return 0.5 | 712 | return retval |
713 | 713 | ||
714 | self.buildSetVars() | 714 | self.buildSetVars() |
715 | 715 | ||