Results 1 to 17 of 17

Thread: QMultiHash - crashing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    freeskydiver Guest

    Default Re: QMultiHash - crashing

    Quote Originally Posted by wysota View Post
    It's not possible, if you can't overload every method that calls the object! And this is exactly the case.
    That's not essential. When I use a class, then I must encapsulate the calls of the not threadsafe class.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QMultiHash - crashing

    Yes, but all calls, not only the ones you make. If you use some kind of architecture (like Qt) it is possible that the architecture calls the objects (like QObjects), which is the exact case here. Thus you can't make QObjects thread-safe just by protecting your code.

  3. #3
    freeskydiver Guest

    Default Re: QMultiHash - crashing

    Upps.... you are right.
    When the system call my object then can it crash.

Similar Threads

  1. Application is Crashing
    By shyam prasad in forum Qt Programming
    Replies: 1
    Last Post: 9th January 2007, 17:04
  2. QSpaceritem problem with crashing
    By moowy in forum Qt Programming
    Replies: 2
    Last Post: 3rd November 2006, 19:52
  3. QTableWidget crashing
    By therealjag in forum Qt Programming
    Replies: 5
    Last Post: 19th April 2006, 16:30
  4. QTextCodec decode chinese gb2312 crashing...
    By denny.t in forum Qt Programming
    Replies: 3
    Last Post: 31st March 2006, 06:50

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.