ColorHandler.createLock

ColorHandler.createLock(self)

Acquire a thread lock for serializing access to the underlying I/O.