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
2851: Use uninterruptibleCancel in JobPool r=coot a=coot
JobPool is using bracket which requires that the resource finalizer is
uninterruptible. Could this introduce a deadlock? I don't think so, only if
there already was a deadlock which forbid to deliver asynchronous exception.
This could happen either deadlock in FFI, or a tight loop which does not
allocate.
Both `async` library is using `uninterruptibleCancel` in `withAsync`
combinator, and `ouroboros-consensus` is using it as well in their more
sophisticated version of `ResourceRegistery`.
- ouroboros-network:cddl: ListLike bound
- job-pool: use uninterruptible handler in bracket
Co-authored-by: Marcin Szamotulski <[email protected]>
0 commit comments