waitToSetLock can block but is an unsafe FFI import
Open
status: needs triage
type: bug
- Dominant language
- Haskell
- Stars
- 124
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
`waitToSetLock` uses `c_fcntl_lock` which is an `unsafe` FFI import, but the call may block indefinitely.
It was the root cause of https://gitlab.haskell.org/ghc/ghc/-/issues/15485 in GHC <= 9.0
This is related to #34 but this particular call should be uncontroversial to fix (I think).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.