bec_lib.utils.threadlocked# threadlocked(fcn)[source]# Ensure that the thread acquires and releases the lock.