Qt_service on Linux and timeout



  • Hi everybody.
    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?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.