Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19404

Research how to suspend/resume libclang to prevent file locks

    XMLWordPrintable

Details

    • Task
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • None
    • C/C++/Obj-C++ Support

    Description

      When libclang does parsing/reparsing it may temporarily open header files and hold handlers to them if they were not passed into libclang call as unsaved files.

      In case libclang does some complicated work the period of time when files might be locked may last several seconds. During that time it's possible that some headers are modified and saved but libclang does not know about it.

      The idea is to research how we can force libclang stop processing files (or totally suspend) for some period of time and then to resume it's work.

      This will help to deal with problems similar to QTCREATORBUG-15449

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              yvvan Ivan Donchevskii
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes