On Monday, 8 October 2018 10:46:31 PDT René J.V. Bertin wrote: > Thiago Macieira wrote: > >> What is the purpose of the pipe/eventfd detour? Can't I just call a > >> function or signal a slot directly? > > > > You can call _exit. You can't call much else. You can only call the > > functions > OK, got it. > > I take it that the QSocketNotifier lives on the main thread and connects to > a slot that lives there too, somehow preventing the signal handler from > returning which could lead to the application exitting prematurely?
The slot can live in any thread, but yes in general you'd place it in the main thread. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
