AllenNeuralDynamics / AllenNeuralDynamics/brainwasher

make thread-exclusive method access decorator more generalizeable

Aberta
#32 0 comentários 0 reações 1 responsável Reivindicada por @Poofjunior Ver no GitHub
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.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.