Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt_service on Linux and timeout
Forum Updated to NodeBB v4.3 + New Features

Qt_service on Linux and timeout

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 538 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    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?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved