Julien Kauffmann writes:
> ...
> Is there a way to know which thread had the GIL right before my
> profiling thread acquired it ? Perhaps through a C extension ? I've
> seen such profilers for Linux that take advantage of an ITIMER signal
> to do that. Sadly this is not an option on Windows.
As y
Hi,
I've worked the past few days on a stastistical sampling profiling tool
for an online Python 2.7 service that runs on Windows.
My approach so far is:
- I have a dedicated thread that sleeps most of the time and wakes up
every n-th milliseconds.
- Whenever the thread wakes-up, it gets the