Skip to content

Conversation

@Bodigrim
Copy link
Contributor

This is not just a stylistic change: it also improves atomicity of putStrLn in concurrent environment, when multiple threads attempt to execute it at once. See https://www.snoyman.com/blog/2016/11/haskells-missing-concurrency-basics/

(Now B.putStrLn is not perfect either, but that's the problem to solve in bytestring)

This is not just a stylistic change: it also improves atomicity of putStrLn
in concurrent environment, when multiple threads attempt to execute it at once.
See https://www.snoyman.com/blog/2016/11/haskells-missing-concurrency-basics/

(Now B.putStrLn is not perfect either, but that's the problem to solve in bytestring)
@Bodigrim Bodigrim requested a review from Lysxia April 11, 2024 19:55
@Lysxia Lysxia merged commit 19725eb into haskell:master Apr 12, 2024
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.

2 participants