mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-22 05:57:41 +02:00
Fixed a race condition in DRC local processor with multiple threads
This commit is contained in:
@@ -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 ()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user