mirror of https://github.com/KLayout/klayout.git
Fixed a race condition in DRC local processor with multiple threads
This commit is contained in:
parent
b3968c31e5
commit
16e95fa45b
|
|
@ -1741,6 +1741,8 @@ local_processor<TS, TI, TR>::compute_results (local_processor_contexts<TS, TI, T
|
|||
|
||||
for (std::vector<db::cell_index_type>::const_iterator bu = cells_bu.begin (); bu != cells_bu.end (); ++bu) {
|
||||
|
||||
tl::MutexLocker locker (& contexts.lock ());
|
||||
|
||||
typename local_processor_contexts<TS, TI, TR>::iterator cpc = contexts.context_map ().find (&mp_subject_layout->cell (*bu));
|
||||
if (cpc != contexts.context_map ().end ()) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue