We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34f8f3 commit c5f95e2Copy full SHA for c5f95e2
line_profiler/_line_profiler.pyx
@@ -1457,7 +1457,7 @@ cdef inline inner_trace_callback(
1457
if not has_time:
1458
time = hpTimer()
1459
has_time = True
1460
- ident = PyThread_get_thread_ident()
+ ident = threading.get_ident() # PyThread_get_thread_ident()
1461
last_map = &(prof._c_last_time[ident])
1462
if deref(last_map).count(block_hash):
1463
old = deref(last_map)[block_hash]
0 commit comments