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.
To make the brainwasher thread-safe, we attach a
@lock_flowpathdecorator 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.