On Sat, 25 Apr 2020 18:49:23 +0200
David Marchand <david.march...@redhat.com> wrote:

> >
> > +void
> > +rte_eal_intr_cleanup(void)
> > +{
> > +       pthread_cancel(intr_thread);
> > +       pthread_join(intr_thread, NULL);
> > +       close(intr_pipe.readfd);
> > +       close(intr_pipe.writefd);  
> 
> What happens to the intr_sources callbacks?
> I am unsure we can expect the application to clean this before the eal 
> cleanup.
> 
> It would be worth a followup patch.

The callbacks should be not run after cleanup.
The goal was to cleanup outstanding system resources (as reported by valgrind)
on eal_cleanup

Reply via email to