You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This reverts the previous fix and instead opts to remove the locking
completely when clearing the wakeup pipe.
We can do this because clear() and close() are both called from the
same thread and nowhere else.
In this version of this fix, the call to ProcessPoolExecutor.submit
can still block on the wakeup pipe if it happens to fill up. This
should not be an issue as there are already other cases where the
submit call can block and if the wakeup pipe is full it implies
there is already a lot of work items queued up.
Co-authored-by: Antoine Pitrou <[email protected]>
0 commit comments