[project @ 2005-01-01 23:59:58 by krasimir]
authorkrasimir <unknown>
Sun, 2 Jan 2005 00:00:00 +0000 (00:00 +0000)
committerkrasimir <unknown>
Sun, 2 Jan 2005 00:00:00 +0000 (00:00 +0000)
commit8fbc1997264235e4e6d32ba1ac19099eadedb227
treebea0566431c426fdd296c7398a744dbd7e3bb554
parent6bf0c4665a11101321b3e1bc2cb4de807cce60ba
[project @ 2005-01-01 23:59:58 by krasimir]
According to the documentation, the Haskell implementation of Handle
should implement single writer/multiple readers locking but the current
implementation doesn't work under Windows. This commit fixes this using
'_sopen' function instead of 'open'. The former allows to implement system
level locking on Windows. The changes doesn't affect other platforms.
GHC/Handle.hs
System/Posix/Internals.hs
System/Process.hs
cbits/lockFile.c
include/HsBase.h
include/lockFile.h