Proofline

In `proofline/client.py`, `_track_thread_signal` invokes `_rehook` under `_notify_lock`.

thekarannagpal/sdk-python#1Reviewed commit c0772d8

Warning · Concurrency

If hook assignment acquires the condition lock, a notifier holding that lock can be waiting for `_notify_lock` through the other installed hook.

Impact

The notifier and the new review wait both hang.

Recommended action

Install and replace condition hooks outside `_notify_lock`, synchronizing registry updates separately.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Incomplete
Started
Completed