Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Include/cpython/lock.h
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
  • Loading branch information
colesbury and kumaraditya303 authored May 27, 2025
commit e1cee96eebfa8ddd1b8c6c08bddcf5a31d54cad4
2 changes: 1 addition & 1 deletion Include/cpython/lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PyAPI_FUNC(void) PyMutex_Lock(PyMutex *m);
// exported function for unlocking the mutex
PyAPI_FUNC(void) PyMutex_Unlock(PyMutex *m);

// exported function for unlocking the mutex
// exported function for checking if the mutex is locked
PyAPI_FUNC(int) PyMutex_IsLocked(PyMutex *m);

// Locks the mutex.
Expand Down