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. [CLOSED] Write File in QtConcurrent Threaded

[CLOSED] Write File in QtConcurrent Threaded

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 638 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.
  • F Offline
    F Offline
    Francknos
    wrote on last edited by
    #1

    Hi everybody,

    I have some code which save data in file, and it works fine but blocking my GUI.

    I put all treatment in a thread using QtConcurrent::run. It's done and work fine with ProgressDialog and I can stop thread with a button.

    But there is a probleme ...
    When I run my code without thread, the writing speed is ~10 Mo/s.
    When I run my code with thread, the writing speed is no more than ~1,8Mo/s.

    Someone have and idea to write at ~10Mo/s with my thread or it's impossible?

    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