5 ms·No, it wouldn’t make sense to. Use threading.Lock for that. PyMutex is available in the CPython C API.by ngoldbaum 2y agoNo, it wouldn’t make sense to. Use threading.Lock for that. PyMutex is available in the CPython C API.