diff options
author | 2015-05-18 14:16:49 -0400 | |
---|---|---|
committer | 2015-05-18 15:57:17 -0400 | |
commit | 94a3e606fb31150c969d63790ec1ef870f413cc1 (patch) | |
tree | 566860a856e7d064e18de4c3a8a2e561377caf3c /Utility/LockFile/Windows.hs | |
parent | 6a318cf0c050f9fa7959874bf0eb8f1105ef0a4b (diff) |
lock pools to work around non-concurrency/composition safety of POSIX fcntl
Diffstat (limited to 'Utility/LockFile/Windows.hs')
-rw-r--r-- | Utility/LockFile/Windows.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/LockFile/Windows.hs b/Utility/LockFile/Windows.hs index 3c680d91c..fe57ff9eb 100644 --- a/Utility/LockFile/Windows.hs +++ b/Utility/LockFile/Windows.hs @@ -22,7 +22,7 @@ type LockFile = FilePath type LockHandle = HANDLE {- Tries to lock a file with a shared lock, which allows other processes to - - also lock it shared. Fails is the file is exclusively locked. -} + - also lock it shared. Fails if the file is exclusively locked. -} lockShared :: LockFile -> IO (Maybe LockHandle) lockShared = openLock fILE_SHARE_READ |