gh-126434: Use multiprocessing.Value for multiprocessing.Event to avoid deadlock when there is reentrant usage of set
from is_set
, e.g. when handling system signals
#131329
Job | Run time |
---|---|
2s | |
3s | |
5s |