From: Ansar Kannankattil <ansarkannankat@gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org
Subject: Re: Reuse Of lcore after returning from its worker thread
Date: Wed, 27 Apr 2022 00:41:12 +0530 [thread overview]
Message-ID: <CAPA_rBf2fRG9GGMNYT2khws-3GA1TL9LBCq+-rBLpKOg9tCddA@mail.gmail.com> (raw)
In-Reply-To: <20220426075600.3598119f@hermes.local>
[-- Attachment #1: Type: text/plain, Size: 589 bytes --]
But how the state is changed to WAIT once the worker thread function
returned
On Tue, 26 Apr, 2022, 8:26 pm Stephen Hemminger, <stephen@networkplumber.org>
wrote:
> On Wed, 20 Apr 2022 17:52:20 +0530
> Ansar Kannankattil <ansarkannankat@gmail.com> wrote:
>
> > Hi,
> > As per my understanding "*rte_eal_wait_lcore" *is a blocking call in case
> > of lcore state running.
> > 1. Is there any direct way to reuse the lcore which we returned from a
> > worker thread?
> > 2. Technically is there any issue in reusing the lcore by some means?
>
> Yes just relaunch with new work function.
>
[-- Attachment #2: Type: text/html, Size: 1003 bytes --]
prev parent reply other threads:[~2022-04-28 12:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-20 12:22 Ansar Kannankattil
2022-04-26 14:56 ` Stephen Hemminger
2022-04-26 19:11 ` Ansar Kannankattil [this message]
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=CAPA_rBf2fRG9GGMNYT2khws-3GA1TL9LBCq+-rBLpKOg9tCddA@mail.gmail.com \
--to=ansarkannankat@gmail.com \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).