AllenNeuralDynamics / AllenNeuralDynamics/brainwasher
make thread-exclusive method access decorator more generalizeable
Đang mở
slosher
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
To make the brainwasher thread-safe, we attach a `@lock_flowpath` decorator to all methods that alter the liquid flowpath that cannot be called from multiple threads at once.
We should rename this function to something more generic (maybe `@thread_exclusive_method`?) and put it somewhere where it can be reused by other instruments.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.