AllenNeuralDynamics / AllenNeuralDynamics/brainwasher
make thread-exclusive method access decorator more generalizeable
Aberta
slosher
- Linguagem predominante
- Python
- Estrelas
- 0
- Forks
- 1
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.