Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt_service on Linux and timeout
mrdebug last edited by
I have a multithread application that uses qt_service to run in a Linux machine. The application uses many threads, there is a thread for each devices.
If I use a few devices when I execute "application stop" the application goes to quit normally but, if I have a lot of devices (and a lot of threads) and the quit function requires many seconds (stopping threads and freeing memory) the "application stop" does not go to end but goes to freeze each time in a different way.
If I start or stop the application by hand all works well.
Have you got any idea to solve the problem?
Is there a way to specify the timeout on stop with qt_service?