AllenNeuralDynamics / AllenNeuralDynamics/brainwasher
make thread-exclusive method access decorator more generalizeable
Ouverte
slosher
- Langage dominant
- Python
- Étoiles
- 0
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.