Qt 6 - Episode 23 - Thread pools

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น • 10

  • @godnyx117
    @godnyx117 3 ปีที่แล้ว +5

    Man I don't believe that you continue this series. I want to choose between Gtk4 and Qt6 and learn one and I'm searching about the available tutorials so far. Thanks a lot for your amazing work!!

  • @echosystemd
    @echosystemd 2 ปีที่แล้ว +1

    Thanks for this series. You are amazing! Personally I think your speed is fine. For me, I would go through the video twice, first time by watching from begin to the end, second time by speeding and dragging the timeline.
    A small tip, QThread::sleep() is a static function, no need to call it on QThread::currentThread()

  • @JasonLee-pr4sx
    @JasonLee-pr4sx หลายเดือนก่อน

    The last part of your video contains an misunderstanding of Qt::QueuedConnection. It specifies that the slot is queued as an event and executed in the receiver's thread. The affinity of a receiver to a thread is the thread in which the receiver is created, unless it is specifically moved by moveToThread() function. For QRunnable object, QThreadPool::globalInstance()->start only ensures that its overiden run() function is executed in the pooledThread, but not the object itself. As a result, since the receiver is in the same thread as the sender, the slot function is executed in the main thread as well.

  • @rydjaradat
    @rydjaradat 3 ปีที่แล้ว +1

    Thank you for the great effort, But I am curious , What are your thoughts on Qt performance versus c++ STL.

    • @VoidRealms
      @VoidRealms  3 ปีที่แล้ว +3

      Depends on the code
      A lot of qt specifics were developed because at the time it did not exist in the STL or Qts implement was better

  • @priyankaeshwaroju
    @priyankaeshwaroju 3 ปีที่แล้ว

    sir, can I know when will you start embedded using qt?

    • @VoidRealms
      @VoidRealms  3 ปีที่แล้ว

      It probably won't be for a while simply because I want to wrap up all the other courses I've done but realistically you could study QML and then read the official QT documents on how to port it over to the embedded device

  • @easyprogramming969
    @easyprogramming969 3 ปีที่แล้ว +1

    Your explanation on TH-cam is different from your explanation on Udemy😂😂😂😂

    • @VoidRealms
      @VoidRealms  3 ปีที่แล้ว +1

      I'm trying to be a bit more accurate every time I do this

  • @neptune8422
    @neptune8422 3 ปีที่แล้ว

    can't type everyday... LOL