[cfe-dev] Is a CXIndex thread-safe?

Douglas Gregor dgregor at apple.com
Mon Oct 29 07:25:31 PDT 2012


On Oct 29, 2012, at 2:18 AM, jaytee <aloha_arts at yahoo.com> wrote:

> Can I use a CXIndex created with clang_createIndex from two different threads
> at the same time, to create and dispose TUs?

Yes. But don't use the same TU in two threads concurrently.

	- Doug



More information about the cfe-dev mailing list