AllenNeuralDynamics / AllenNeuralDynamics/brainwasher
make thread-exclusive method access decorator more generalizeable
Open
slosher
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.