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 a95bdaf commit 1766992Copy full SHA for 1766992
Lib/test/test_profiling/test_sampling_profiler.py
@@ -2716,8 +2716,8 @@ def gil_holding_work():
2716
2717
def main():
2718
# Start both threads
2719
- idle_thread = threading.Thread(target=idle_worker)
2720
- cpu_thread = threading.Thread(target=cpu_active_worker)
+ idle_thread = threading.Thread(target=gil_releasing_work)
+ cpu_thread = threading.Thread(target=gil_holding_work)
2721
idle_thread.start()
2722
cpu_thread.start()
2723
idle_thread.join()
0 commit comments