返回 Bug 清单
BUG-0017project-05低需关注python-concurrency
SimulatedEntanglementSource._config 多线程数据竞争
发现:2026-09-30验证:2026-10-09置信度:85%
症状
`configure()` 从 API 线程修改 `self._config`,而 `_simulate_data_stream()` 在后台线程中同时读取 `self._config`,无锁保护导致数据竞争。
根因
多线程环境下共享 `self._config` 字典未使用 `threading.Lock` 保护。
错误签名
多线程环境下共享 `self._config` 字典未使用 `threading.Lock` 保护。技术信息
来源项目
project-05
涉及文件
aurora-platform/hal/drivers/entanglement_source/simulated_driver.py
标签
python-concurrency, project-05