* bitbake-worker: where the data come from in handle_runtask?
@ 2017-03-03 8:41 Du Dengke
2017-03-03 10:00 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Du Dengke @ 2017-03-03 8:41 UTC (permalink / raw)
To: bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 836 bytes --]
Hi bitbake-devel
In file bitbake-worker, the function handle_runtask:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fn, task, taskname, quieterrors, appends, taskdepdata, dry_run_exec =
pickle.loads(data)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
why the "pickle.loads(data)" return 7 results, before this commit:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58f08429 (Paul Eggleton 2016-12-16 07:09:13 +1300 428)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
it returns 6 results:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fn, task, taskname, quieterrors, appends, taskdepdata = pickle.loads(data)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
where the data come from, I want to forcus on the taskdepdata.
Thanks
pad
[-- Attachment #2: Type: text/html, Size: 1120 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bitbake-worker: where the data come from in handle_runtask?
2017-03-03 8:41 bitbake-worker: where the data come from in handle_runtask? Du Dengke
@ 2017-03-03 10:00 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2017-03-03 10:00 UTC (permalink / raw)
To: Du Dengke, bitbake-devel
On Fri, 2017-03-03 at 16:41 +0800, Du Dengke wrote:
> In file bitbake-worker, the function handle_runtask:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> fn, task, taskname, quieterrors, appends, taskdepdata, dry_run_exec =
> pickle.loads(data)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> why the "pickle.loads(data)" return 7 results, before this commit:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 58f08429 (Paul Eggleton 2016-12-16 07:09:13 +1300 428)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> it returns 6 results:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> fn, task, taskname, quieterrors, appends, taskdepdata =
> pickle.loads(data)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> where the data come from, I want to forcus on the taskdepdata.
In the commit you mention, you'll see this piece:
- self.rq.worker[mc].process.stdin.write(b"<runtask>" + pickle.dumps((taskfn, task, taskname, False, self.cooker.collection.get_file_appends(taskfn), taskdepdata)) + b"</runtask>")
+ self.rq.worker[mc].process.stdin.write(b"<runtask>" + pickle.dumps((taskfn, task, taskname, False, self.cooker.collection.get_file_appends(taskfn), taskdepdata, self.rqdata.setscene_enforce)) + b"</runtask>")
This is the change which means "data" now has seven elements instead of
six since self.rqdata.setscene_enforce was added.
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-03 10:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-03 8:41 bitbake-worker: where the data come from in handle_runtask? Du Dengke
2017-03-03 10:00 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.