forked from qt-creator/qt-creator
In fact, all the methods inside Parser class are called only in one thread (parser thread), which runs his own event loop. The exception is 3 methods (canFetchMore(), fetchMore() and hasChildren()), which may be called concurrently from the main thread. However, they are protected with another mutex. So, project and document mutex were protecting the access to internals only when called from one, always the same thread, what is not needed at all. Task-number: QTCREATORBUG-25317 Change-Id: I0b44b762b5d76d003035e9c3099c90568b7faf80 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
17 KiB
17 KiB