static inline */
| 224 | |
| 225 | /* static inline */ |
| 226 | PyThreadState *PyEventLoop::_getCurrentThread() { |
| 227 | // `PyThreadState_Get` is used under the hood of the Python `asyncio.get_running_loop` method, |
| 228 | // see https://github.com/python/cpython/blob/7cb3a44/Modules/_asynciomodule.c#L234 |
| 229 | return PyThreadState_Get(); |
| 230 | } |
| 231 | |
| 232 | /* static */ |
| 233 | PyEventLoop PyEventLoop::getMainLoop() { |
nothing calls this directly
no outgoing calls
no test coverage detected