Duplicate function in thread_pthread.h

Windson Yang wiwindson at gmail.com
Mon May 27 23:56:40 EDT 2019


When I try to understand the code about the thread. I found
the thread_pthread.h file has some duplicate functions. Like
`PyThread_free_lock`, `PyThread_release_lock`,
`PyThread_acquire_lock_timed`. IIUC, C doesn't support function overload.
So why we have functions with the same name and args?


More information about the Python-list mailing list