From: Rajesh R <rajesh.arr@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Can pthread_create be called directly in a dpdk application?
Date: Fri, 14 Aug 2015 06:13:46 -0400 [thread overview]
Message-ID: <CAAh6R8+cR=4oGW2cAqGnWMT1HMgv1eXs72vkvt=V02QANABhQQ@mail.gmail.com> (raw)
I am relatively new to dpdk. I could make the examples work.
Now I am experimenting with a traffic measurement application which capture
packets using dpdk. The application requires few other threads apart from
the rte_threads.
If I put the code for thread creation (pthread_create()) before calling
eal_rte_init and remote_launch, the rte_init/remote launch is not
proceeding. But if I put the eal_rte_init()/remote_launch first it is
working, but coee will wait there and would not proceed to the subsequent
lines
How to do it correctly?
--
Regards
Rajesh R
next reply other threads:[~2015-08-14 10:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-14 10:13 Rajesh R [this message]
2015-08-14 10:18 ` Bruce Richardson
2015-08-15 6:47 ` Rajesh R
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='CAAh6R8+cR=4oGW2cAqGnWMT1HMgv1eXs72vkvt=V02QANABhQQ@mail.gmail.com' \
--to=rajesh.arr@gmail.com \
--cc=dev@dpdk.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).