gh-122201: Lock mutex when setting handling_thread to NULL (#122204)
In the free-threaded build, we need to lock pending->mutex when clearing the handling_thread in order not to race with a concurrent make_pending_calls in the same interpreter.
S
Sam Gross committed
c557ae97d6bd9d04164a19b4fe136610e54dbdd8
Parent: 64857d8
Committed by GitHub <[email protected]>
on 7/26/2024, 5:06:07 PM