<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="ltr">
<div></div>
<div>
<div dir="ltr">Hi Thomas,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">That's right we need to create threads on specific CPUs.</div>
<div id="ms-outlook-mobile-signature" dir="ltr">
<div></div>
</div>
<div id="mail-editor-reference-message-container" class="ms-outlook-mobile-reference-message">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif"><b>From:</b> Thomas Monjalon <thomas@monjalon.net><br>
<b>Sent:</b> Friday, September 1, 2023 7:09 AM<br>
<b>To:</b> Sevincer, Abdullah <abdullah.sevincer@intel.com><br>
<b>Cc:</b> dev@dpdk.org <dev@dpdk.org>; Tyler Retzlaff <roretzla@linux.microsoft.com><br>
<b>Subject:</b> quick thread in DLB2
<div> </div>
</font></div>
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hello Abdullah,<br>
<br>
In the DLB2 code, I see a thread is created for a single operation:<br>
In drivers/event/dlb2/pf/base/dlb2_resource.c<br>
pthread_create(&pthread, NULL, &dlb2_pp_profile_func, &dlb2_thread_data[i]);<br>
and just after:<br>
pthread_join(pthread, NULL);<br>
<br>
Can we avoid creating this thread?<br>
I guess no, because it must spawn on a specific CPU.<br>
<br>
<br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>