Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] PDOM Index updates

Thanks Doug,

- janees

Doug Schaefer <DSchaefer@xxxxxxx>
Sent by: cdt-dev-bounces@xxxxxxxxxxx

29-09-06 05:27 PM

Please respond to
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>

"CDT General developers list." <cdt-dev@xxxxxxxxxxx>
RE: [cdt-dev] PDOM Index updates

Comments below.
Doug Schaefer
QNX Software Systems
Eclipse CDT Project Lead

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Janees Elamkulam
Friday, September 29, 2006 7:51 AM
CDT General developers list.
[cdt-dev] PDOM Index updates



I have some of query regarding PDOM index

1. How often does PDOM updates its index db/ how does the index get updated ?

[Doug>] This is what the indexer does.
2. Does it listen to CElementDelta ?
[Doug>] Yes. Check out the PDOMManager class, elementChanged method. It generally only indexes when ITranslationUnits change.
3. Is there a method/way to update pdom index (not rebuild index) on demand? if so how ?
[Doug>] I guess you could. Make sure you acquire the write lock on the PDOM you are writing to first. Again, check out the implementation of the indexers to see how.

Thanks and Regards,
cdt-dev mailing list

Back to the top