mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 342506. Added a comment with a link.
This commit is contained in:
parent
925d2e441e
commit
c6619b714e
1 changed files with 2 additions and 0 deletions
|
@ -394,6 +394,8 @@ public final class ASTProvider {
|
|||
if (!tu.isOpen())
|
||||
return false;
|
||||
|
||||
// http://bugs.eclipse.org/bugs/show_bug.cgi?id=342506 explains
|
||||
// benign nature of the race conditions in the code below.
|
||||
final boolean isActive= fCache.isActiveElement(tu);
|
||||
if (waitFlag == WAIT_ACTIVE_ONLY && !isActive) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue