-
Hello, I have an application based on python that uses a C++ module to do some Windows debugger things (handling hardware breakpoint exceptions). Essentially, I have to check for a debug event regularly, so I have a while (true) loop in the C++ module; my issue is that I can't seem to get my python program to do anything when this while loop is active. I've tried normal python threading to no avail (example below):
Another note, the while loop isn't meant to return anything; it's just meant to run in perpetuity until the application closes entirely (though, I'd like to implement some kind of interrupt, but that's irrelevant to the problem at hand). I can provide whatever code or info is necessary, and any help is appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved; see https://pybind11.readthedocs.io/en/stable/advanced/misc.html#global-interpreter-lock-gil for future reference. |
Beta Was this translation helpful? Give feedback.
Solved; see https://pybind11.readthedocs.io/en/stable/advanced/misc.html#global-interpreter-lock-gil for future reference.