Skip to content

Commit ae5f973

Browse files
committed
fix(profiling): release the GIL for internal mutation
We make the stack v2 sampler release the GIL when performing internal state mutation that can require acquiring other internal locks. This gives the chance to other threads to make progress while the tracking operations wait on an internal mutex.
1 parent 493f80c commit ae5f973

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
fixes:
3+
- |
4+
Profiling: prevent potential deadlocks with thread pools.

0 commit comments

Comments
 (0)