Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
cbef021e
by Artem Pelenitsyn at 2026-07-19T07:49:55-04:00
1 changed file:
Changes:
| ... | ... | @@ -40,14 +40,14 @@ import GHC.Internal.IO.Handle.Lock.NoOp |
| 40 | 40 | -- to interrupt it with asynchronous exceptions and/or for other threads to
|
| 41 | 41 | -- continue working, you MUST use threaded version of the runtime system.
|
| 42 | 42 | --
|
| 43 | --- 2. The implementation uses relies on any of a number of locking
|
|
| 44 | --- facilities, depending upon what the platform supports:
|
|
| 43 | +-- 2. The implementation relies on any of a number of locking
|
|
| 44 | +-- facilities, depending upon what the platform supports:
|
|
| 45 | 45 | --
|
| 46 | --- * 'LockFileEx' is used on Windows
|
|
| 47 | --- * On platforms that support it we use the @F_OFD_SETLK@ and @F_OFD_SETLKW@ @fnctl@s.
|
|
| 48 | --- * Otherwise we use @flock@
|
|
| 46 | +-- * 'LockFileEx' is used on Windows
|
|
| 47 | +-- * On platforms that support it we use the @F_OFD_SETLK@ and @F_OFD_SETLKW@ @fnctl@s.
|
|
| 48 | +-- * Otherwise we use @flock@
|
|
| 49 | 49 | --
|
| 50 | --- hence all of their caveats also apply here.
|
|
| 50 | +-- All of their caveats also apply here.
|
|
| 51 | 51 | --
|
| 52 | 52 | -- 3. On non-Windows platforms that don't support 'flock' (e.g. Solaris) this
|
| 53 | 53 | -- function throws 'FileLockingNotImplemented'. We deliberately choose to not
|