1
0
Fork 0
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:
Sergey Prigogin 2011-04-14 17:35:41 +00:00
parent 925d2e441e
commit c6619b714e

View file

@ -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;