Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. qt app into rt-preempt
QtWS25 Last Chance

qt app into rt-preempt

Scheduled Pinned Locked Moved Solved C++ Gurus
3 Posts 2 Posters 1.6k 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.
  • gfxxG Offline
    gfxxG Offline
    gfxx
    wrote on last edited by
    #1

    I need to perform a realtime process in qt an transmit data into rt-ethernet line.
    But my application is a bit heavy ... so the ideas is run some thread (ethernet + math thread) into rt spaces and other part of app into users space .... is possible to do these? or the better is make two separate app (connected via dbus for example) one userspace and other rt-space?

    If it is possible to have 2 threads going into rt-space and the rest in users-space ... could anyone suggest how to do or where to study in order to get it done?

    regards
    giorgio

    bkt

    K 1 Reply Last reply
    0
    • gfxxG gfxx

      I need to perform a realtime process in qt an transmit data into rt-ethernet line.
      But my application is a bit heavy ... so the ideas is run some thread (ethernet + math thread) into rt spaces and other part of app into users space .... is possible to do these? or the better is make two separate app (connected via dbus for example) one userspace and other rt-space?

      If it is possible to have 2 threads going into rt-space and the rest in users-space ... could anyone suggest how to do or where to study in order to get it done?

      regards
      giorgio

      K Offline
      K Offline
      Konstantin Tokarev
      wrote on last edited by
      #2

      @gfxx man sched_setscheduler

      Note that you may need to run your application as root (maybe via SUID bit) to be able to use realtime schedulers.

      gfxxG 1 Reply Last reply
      1
      • K Konstantin Tokarev

        @gfxx man sched_setscheduler

        Note that you may need to run your application as root (maybe via SUID bit) to be able to use realtime schedulers.

        gfxxG Offline
        gfxxG Offline
        gfxx
        wrote on last edited by
        #3

        @Konstantin-Tokarev yes you are in right ...

        regards
        giorgio

        bkt

        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