Results 1 to 16 of 16

Thread: application freezes without crashing (and closing)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: application freezes without crashing (and closing)

    Quote Originally Posted by nass View Post
    i assume by worker thread you mean the signal handler (ie pre- event queue) and gui thread the internal qt signal emission (post event queue)....
    No. Threads have nothing to do with signals. It's just you said you were doing something "in a separate thread", so I assumed you were using multiple threads.

  2. #2
    Join Date
    Jul 2006
    Posts
    79
    Qt products
    Qt3 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: application freezes without crashing (and closing)

    no i haven't implemented any threads of my own... i was under the impression that among other Qt operations that spawh separate threads, the signalling mechanism would do so too.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: application freezes without crashing (and closing)

    Hmm... This may come as a surprise for you, but Qt doesn't spawn threads on its own for any of the tasks it does.

  4. #4
    Join Date
    Jul 2006
    Posts
    79
    Qt products
    Qt3 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: application freezes without crashing (and closing)

    ok this goes off topic, but what is the point of libqt-mt then?

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: application freezes without crashing (and closing)

    That applications built over Qt (like KDE) can spawn their own threads. Qt3 itself can be built without thread support and still have the same functionality (apart from ability to spawn threads of course).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.