Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-10210

QCoreApplication::postEvent documentation

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P4: Low
    • 4.7.0
    • 4.6.2
    • Documentation
    • Any

    • 7ffb1c2e821cc4d508dcedcdb7363756f9f693ff

    Description

      Hello. I have one proposal to QCoreApplication::postEvent documentation. Istead "It is not safe to modify or delete the event after it has been posted." I suggest to write "Any use of the event object after it has been posted from secondary thread, is not safe" (sorry for my English ). Coz event object can be deleted literally on the next line of code, none of deletion, modifying or reading is accepted (thread switching is really unpredictable).

      Thanks.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dm Geir Vattekar
            k0l0b0k Alex
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes