Question about Advanced Debugger Support C-API

Hello!
There is Advanced Debugger Support https://docs.python.org/dev/c-api/init.html#advanced-debugger-support API in CPython. I see that in CPython source code objects on which it operates are operated on while HEAD_LOCK() is acquired (1 https://github.com/python/cpython/blob/71a3522ef85df06a3acc718107360e37e4116a15/Python/pystate.c#L285, 2 https://github.com/python/cpython/blob/71a3522ef85df06a3acc718107360e37e4116a15/Python/pystate.c#L341, 3 https://github.com/python/cpython/blob/71a3522ef85df06a3acc718107360e37e4116a15/Python/pystate.c#L384, 4 https://github.com/python/cpython/blob/71a3522ef85df06a3acc718107360e37e4116a15/Python/pystate.c#L1146). But HEAD_LOCK() is not part of public C-API. So I wonder - is Advanced Debugger Support API really complete because it seems like it can't be used withotu HEAD_LOCK()/HEAD_UNLOCK().
Could someone please enlighten?
-- With kind regards, Andrew Pashkin. cell phone - +375 (44) 492-16-85 Skype - waves_in_fluids e-mail - andrew.pashkin@gmx.co.uk
participants (1)
-
Andrew Pashkin