summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/main.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-12 23:55:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 08:35:07 +0100
commit29b4fb17966bfaec74b41cce533725c04ec1078f (patch)
tree4a10c618d264af930d0d8dd9b42e434d8e0d16c8 /bitbake/lib/bb/main.py
parent7e54da0581faaafa9bfb13680ad6618c4c8f9831 (diff)
downloadpoky-29b4fb17966bfaec74b41cce533725c04ec1078f.tar.gz
bitbake: runqueue: Change buildable/running lists to sets
Using positions in lists for flags is an odd choice and makes the code hard to maintain. Maintaining a list is slow since list searches are slow (watch bitbake -n slow massively with it) but we can use a set() instead. This patch uses python sets to maintain the lists of tasks in each state and this prepares for changing the task IDs from being integers. (Bitbake rev: 8c1ed57f6ea475b714eca6673b48e8e5f5f0f9c3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/main.py')
0 files changed, 0 insertions, 0 deletions