Skip to content

Use interruptible in writeOutputStream#2932

Merged
mpilquist merged 3 commits intotypelevel:mainfrom
armanbilge:issue/2931
Jul 1, 2022
Merged

Use interruptible in writeOutputStream#2932
mpilquist merged 3 commits intotypelevel:mainfrom
armanbilge:issue/2931

Conversation

@armanbilge
Copy link
Copy Markdown
Member

Fixes #2931.

As I understand it, interruptibility doesn't come for free. How do we feel about placing it in the hot path here? Maybe it should be configurable?

@djspiewak
Copy link
Copy Markdown
Member

Fwiw, in this type of thing, I suspect the overhead of interruptible is unnoticeable.

@bpholt
Copy link
Copy Markdown
Member

bpholt commented Jun 27, 2022

FYI, I pulled this into my original non-minimized reproduction locally and it looks like it resolves the issue. Thanks for digging into it so quickly!

@mpilquist mpilquist merged commit 38da26f into typelevel:main Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

raiseError causes writeOutputStream to hang

5 participants