; *From:* lng-odp [mailto:lng-odp-boun...@lists.linaro.org] *On Behalf
> Of *Christophe
> > > Milard
> > > *Sent:* Thursday, May 12, 2016 2:14 PM
> > > *To:* Savolainen, Petri (Nokia - FI/Espoo)
>
> > > *Cc:* lng-odp@lists.linaro.org
> > > *Subject:
> > *Sent:* Thursday, May 12, 2016 2:14 PM
> > *To:* Savolainen, Petri (Nokia - FI/Espoo)
> > *Cc:* lng-odp@lists.linaro.org
> > *Subject:* Re: [lng-odp] [PATCHv6 05/38] helpers: linux: creating
> > functions to handle odpthreads
> >
> > On 12 May 2016 at 12
, Petri (Nokia - FI/Espoo)
> *Cc:* lng-odp@lists.linaro.org
> *Subject:* Re: [lng-odp] [PATCHv6 05/38] helpers: linux: creating
> functions to handle odpthreads
>
>
>
>
>
>
>
> On 12 May 2016 at 12:28, Savolainen, Petri (Nokia - FI/Espoo) <
> petri.savolai..
From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Christophe
Milard
Sent: Thursday, May 12, 2016 2:14 PM
To: Savolainen, Petri (Nokia - FI/Espoo)
Cc: lng-odp@lists.linaro.org
Subject: Re: [lng-odp] [PATCHv6 05/38] helpers: linux: creating functions to
handle odpthreads
On 12 May 2016 at 12:28, Savolainen, Petri (Nokia - FI/Espoo) <
petri.savolai...@nokia.com> wrote:
>
> > +int odph_odpthreads_create(odph_odpthread_t *thread_tbl,
> > +const odp_cpumask_t *mask,
> > +const odph_odpthread_params_t *thr_params)
> > +{
> +int odph_odpthreads_create(odph_odpthread_t *thread_tbl,
> +const odp_cpumask_t *mask,
> +const odph_odpthread_params_t *thr_params)
> +{
> + int i;
> + int num;
> + int cpu_count;
> + int cpu;
> +
> + num = odp_cpumask_count(m
y 11, 2016 7:42 PM
> > To: brian.bro...@linaro.org; mike.hol...@linaro.org; lng-
> > o...@lists.linaro.org
> > Subject: [lng-odp] [PATCHv6 05/38] helpers: linux: creating functions to
> > handle odpthreads
> >
> > Two functions, odph_odpthreads_create and odph_odpthre
> -Original Message-
> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of
> Christophe Milard
> Sent: Wednesday, May 11, 2016 7:42 PM
> To: brian.bro...@linaro.org; mike.hol...@linaro.org; lng-
> o...@lists.linaro.org
> Subject: [lng-odp] [PATCHv6
Two functions, odph_odpthreads_create and odph_odpthreads_join
are created to create and termindate odp threads.
These function will create the odp threads either as linux processes or
as linux threads, depending on the command line arguments (flag odph_proc
or odph_thread). If both flags are given