Results 1 to 2 of 2

Thread: QtThread IO debug question

  1. #1
    Join Date
    Sep 2008
    Posts
    23
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Question QtThread IO debug question

    hi, there
    I am using qtthread and in each thread the program will read and write from/to different files. My question is: will there be trouble if two thread write to the disk (although different file) at the same time? The reason I am asking is that my program is unstable that it will crash after a while, but when did it crash looks random even I am repeating the same operation. The error message is IO related. Thanks for your comments.
    zl2k

  2. #2
    Join Date
    Sep 2008
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 10 Times in 9 Posts

    Default Re: QtThread IO debug question

    If threads work with different files I believe there should not be any concurrency-related problems. What's the error message?

Similar Threads

  1. Qt + Linux + Eclipse - debug using debug build?
    By will49 in forum Qt Programming
    Replies: 6
    Last Post: 13th April 2012, 07:27
  2. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 17:48
  3. What is debug mode for without MSVC?
    By firegun9 in forum Newbie
    Replies: 1
    Last Post: 5th September 2007, 18:21
  4. Qt4 open src mingw from a PC to another
    By nvictor in forum Installation and Deployment
    Replies: 11
    Last Post: 1st May 2007, 18:41
  5. Adding custom defines when on debug build
    By chus in forum Qt Programming
    Replies: 2
    Last Post: 2nd March 2007, 12:38

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.