Skip to content

Commit b4ec8d4

Browse files
iohk-bors[bot]coot
andauthored
Merge #2851
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]>
2 parents f0d7d53 + 7dbbdcd commit b4ec8d4

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)