def display(self): global _globalLock _globalLock.acquire() GLPluginProgram.display(self) _globalLock.release()