commit | cc33ae08d6a009ae0341086e1c91f87ad17006fe | [log] [tgz] |
---|---|---|
author | River Riddle <riverriddle@google.com> | Thu Mar 14 14:14:14 2019 -0700 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 17:19:42 2019 -0700 |
tree | 9000973eff2adcbdfdddd900d9189e23e290fb88 | |
parent | 26dd52f15d2851f4fa6dc8efdcce1b8a3177bf5f [diff] |
Rename allocator to identifierAllocator and add an identifierMutex to make identifier uniquing thread safe. This also adds a general purpose 'contextMutex' to protect access to the rest of the miscellaneous parts of the MLIRContext, e.g. diagnostics, dialect registration, etc. This is step 5/5 of making the MLIRContext thread-safe. PiperOrigin-RevId: 238516697