def set_alpha(self, alpha):
        alpha = float(alpha)
        self.diffuse[3] = alpha
        self.ambient[3] = alpha
        self.specular[3] = alpha
        self.emissive[3] = alpha
Makes sure the process is only run once at the same time with the same name.
dataset/ETHPy150Open greenmoss/PyWavefront/pywavefront/material.py/Material.set_alpha--crossover with--dataset/ETHPy150Open spotify/luigi/luigi/lock.py/acquire_for