quick thread in DLB2
Sevincer, Abdullah
abdullah.sevincer at intel.com
Mon Sep 4 21:13:57 CEST 2023
Hi Thomas,
That's right we need to create threads on specific CPUs.
________________________________
From: Thomas Monjalon <thomas at monjalon.net>
Sent: Friday, September 1, 2023 7:09 AM
To: Sevincer, Abdullah <abdullah.sevincer at intel.com>
Cc: dev at dpdk.org <dev at dpdk.org>; Tyler Retzlaff <roretzla at linux.microsoft.com>
Subject: quick thread in DLB2
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20230904/450f5d05/attachment.htm>
More information about the dev
mailing list