Acquire a thread lock for serializing access to the underlying I/O.
(self)
| 956 | name = property(get_name, set_name) |
| 957 | |
| 958 | def createLock(self): |
| 959 | """ |
| 960 | Acquire a thread lock for serializing access to the underlying I/O. |
| 961 | """ |
| 962 | self.lock = threading.RLock() |
| 963 | _register_at_fork_reinit_lock(self) |
| 964 | |
| 965 | def _at_fork_reinit(self): |
| 966 | self.lock._at_fork_reinit() |
no test coverage detected