Open
Description
In GitLab by @maerwald on Jul 17, 2022, 04:47
It is said that unsafePerformIO
is single-threaded, but unsafeDupablePerformIO
can break bracket-like functions. Yet, bytestring uses it with unsafeWithForeignPtr
.
Similar discussion here haskell/unix#157 (comment)