gh-106320: Remove private _PyOS_IsMainThread() function#108605
Conversation
Move the following private API to the internal C API (pycore_signal.h): _PyOS_IsMainThread() and _PyOS_SigintEvent().
063392b to
f3eaba7
Compare
August 29, 2023 02:38
|
This breaks tensorstore, specifically due to the usage of It is used in order to make a blocking wait within the main thread interruptible via Control+C on Windows. I don't know of any easy alternative. For now I will be using the workaround of copying the declaration to my own source file, but if the function is eventually removed entirely that won't work. |
Sorry, something went wrong.
|
Would you mind to open a new issue since this one is closed? Please explain your use case and why you need this function to be exposed. |
Sorry, something went wrong.
Sorry, something went wrong.
Move the following private API to the internal C API (pycore_signal.h):
No longer export these functions.