use locking on Windows
This is all the easy cases, where there was already a separate lock file.
This commit is contained in:
parent
8de4db664d
commit
891c85cd88
8 changed files with 95 additions and 40 deletions
|
@ -9,11 +9,10 @@ module Utility.WinLock (
|
|||
lockShared,
|
||||
lockExclusive,
|
||||
dropLock,
|
||||
waitToLock
|
||||
waitToLock,
|
||||
LockHandle
|
||||
) where
|
||||
|
||||
import Common
|
||||
|
||||
import System.Win32.Types
|
||||
import System.Win32.File
|
||||
import Control.Concurrent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue