[cfe-dev] cland and multi-threading

Paul Curtis plc at rowley.co.uk
Fri Dec 10 06:29:12 PST 2010


Hi All,

I have another question, which I couldn't readily find the answer for.

Given a single CXIndex, is it possible to run two (or more) parses using the
clang API in parallel?  That is, could I create two threads and have two
clang_parseTranslationUnit() calls running in different threads, using
different translation units, concurrently?

Thanks,

--
Paul Curtis, Rowley Associates Ltd   http://www.rowley.co.uk
SolderCore arriving Winter 2010!   http://www.soldercore.com







More information about the cfe-dev mailing list