DPDK patches and discussions
 help / color / mirror / Atom feed
* quick thread in DLB2
@ 2023-09-01 14:08 Thomas Monjalon
  2023-09-04 19:13 ` Sevincer, Abdullah
  2023-09-06 19:45 ` Stephen Hemminger
  0 siblings, 2 replies; 10+ messages in thread
From: Thomas Monjalon @ 2023-09-01 14:08 UTC (permalink / raw)
  To: Abdullah Sevincer; +Cc: dev, Tyler Retzlaff

Hello Abdullah,

In the DLB2 code, I see a thread is created for a single operation:
In drivers/event/dlb2/pf/base/dlb2_resource.c
pthread_create(&pthread, NULL, &dlb2_pp_profile_func, &dlb2_thread_data[i]);
and just after:
pthread_join(pthread, NULL);

Can we avoid creating this thread?
I guess no, because it must spawn on a specific CPU.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-09-14  8:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-01 14:08 quick thread in DLB2 Thomas Monjalon
2023-09-04 19:13 ` Sevincer, Abdullah
2023-09-06 19:45 ` Stephen Hemminger
2023-09-07 22:09   ` Sevincer, Abdullah
2023-09-07 23:37     ` Stephen Hemminger
2023-09-08  7:28     ` Mattias Rönnblom
2023-09-11 14:28       ` Sevincer, Abdullah
2023-09-13 15:48         ` Mattias Rönnblom
2023-09-13 20:56           ` Honnappa Nagarahalli
2023-09-14  8:09             ` Mattias Rönnblom

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).