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. Threading in conjunction with communication layers
QtWS25 Last Chance

Threading in conjunction with communication layers

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 645 Views
  • 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.
  • Flaming MoeF Offline
    Flaming MoeF Offline
    Flaming Moe
    wrote on last edited by Flaming Moe
    #1

    Hello guys, I´m batman... what the.... what the Fxxx is this?!

    No, seriously,
    i´m bulding something where a PC hostet QtApp communicates with small 8-Bit µC´s clients via a USB<=>Serial connection.
    Is this a point where it is handy, to use threading?
    I come to this question from my previous post
    Is communication generally something which often brings up a demand for threading?

    Moe?

    A lovely day for a ̶g̶̶u̶̶i̶̶n̶̶n̶̶e̶̶s̶ DUFF^^

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Qt already uses separate threads internally for communications. You usually don't need to create your own threads.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kuzulis
        Qt Champions 2020
        wrote on last edited by kuzulis
        #3

        Qt already uses separate threads internally for communications

        If to be more clean, the Qt uses an event-loop internally (and some of helper classes, like QSocketNotifier, QWinEventNotifier and so on) to handle an i/o events asynchronously. Also, can be used QThreads internally too (depends on implementation of concrete Qt class).

        1 Reply Last reply
        1

        • Login

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