On Fri, 10 Jan 2025 12:17:17 +0530 Gagandeep Singh <g.si...@nxp.com> wrote:
> This patch introduces a worker thread cleanup function in the EAL library, > ensuring proper termination of created pthreads and invocation of > registered pthread destructors. > This guarantees the correct cleanup of thread-specific resources, > used by drivers or applications. > > Signed-off-by: Gagandeep Singh <g.si...@nxp.com> > --- What problem is this trying to solve? Canceling threads sends signals and can be problematic. Many of the operations done in drivers are not signal safe.