All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Quentin Schulz" <quentin.schulz@theobroma-systems.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: YP docs mailing list <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH] ref-manual: add potential of parallelism to defn of "Task"
Date: Mon, 6 Sep 2021 15:29:59 +0200	[thread overview]
Message-ID: <20210906132959.h5d45apq2es6dojw@fedora> (raw)
In-Reply-To: <2cf272e-4b96-e1ae-c692-4a1ee6b8736e@crashcourse.ca>

Hi Robert,

On Mon, Sep 06, 2021 at 08:44:30AM -0400, Robert P. J. Day wrote:
> 
> Emphasize that tasks can be done in parallel.
> 
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
> 
> ---
> 
> diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
> index 32658051a..1a1f8dbee 100644
> --- a/documentation/ref-manual/terms.rst
> +++ b/documentation/ref-manual/terms.rst
> @@ -367,10 +367,16 @@ universal, the list includes them just in case:
>       section in the Yocto Project Overview and Concepts Manual.
> 
>     :term:`Task`
> -      A unit of execution for BitBake (e.g.
> +      A per-recipe unit of execution for BitBake (e.g.
>        :ref:`ref-tasks-compile`,
>        :ref:`ref-tasks-fetch`,
>        :ref:`ref-tasks-patch`, and so forth).
> +      One of the major benefits of the build system is that, since each
> +      recipe will typically spawn the execution of numerous tasks, it is
> +      entirely possible that many tasks can execute in parallel, with
> +      the fetch task of one recipe being done simultaneously with the

:ref:`ref-tasks-fetch`

> +      build task of another, and so forth, potentially up to the
> +      parallelism limit of your build system.
> 

I'm not entirely sure now, but I'm wondering if this does not apply to
tasks within a recipe too?

Let's say you have the following task dependency tree:

	 do_install
	  /	 \
do_something	do_another_thing
	  \	 /
	  do_build

I would assume that do_something and do_another_thing can happen at the
same time (or in any variable order).

I think it'd be worth mentioning if that happens to be correct.

In any case,

Reviewed-by: Quentin Schulz <foss@0leil.ṅet>

Thanks!
Quentin

  reply	other threads:[~2021-09-06 13:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 12:44 [PATCH] ref-manual: add potential of parallelism to defn of "Task" Robert P. J. Day
2021-09-06 13:29 ` Quentin Schulz [this message]
2021-09-06 13:45   ` [docs] " Robert P. J. Day

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210906132959.h5d45apq2es6dojw@fedora \
    --to=quentin.schulz@theobroma-systems.com \
    --cc=docs@lists.yoctoproject.org \
    --cc=rpjday@crashcourse.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.