AllenNeuralDynamics / AllenNeuralDynamics/brainwasher

make thread-exclusive method access decorator more generalizeable

Đang mở
#32 0 bình luận 0 reaction 1 người được giao Được @Poofjunior nhận Xem trên GitHub
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.