[bitbake-devel] [PATCH] runqueue: Abstract worker functionality to an object/array

Christopher Larson clarson at kergoth.com
Mon Aug 15 17:16:16 UTC 2016


On Mon, Aug 15, 2016 at 9:58 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> +                    if w in self.rq.worker:
> +                        name = "Worker"
> +                    elif w in self.rq.fakeworker:
> +                        name = "Fakeroot"
>

The concept seems sound, but there's still a fair bit of handling which is
do this thing for workers and that thing for fake workers, makes me think
we might want to split out objects to bind the workers, their names, and
their logic.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20160815/0a2b37cd/attachment-0002.html>


More information about the bitbake-devel mailing list