Hacker News new | ask | show | jobs
by ngoldbaum 619 days ago
No, it wouldn’t make sense to. Use threading.Lock for that. PyMutex is available in the CPython C API.