cvs commit: fptools/libraries/base/GHC Handle.hs fptools/libraries/base/System Process.hs fptools/libraries/base/System/Posix Internals.hs fptools/libraries/base/cbits lockFile.c fptools/libraries/base/include HsBase.h lockFile.h

Krasimir Angelov krasimir at haskell.org
Sat Jan 1 19:00:00 EST 2005


krasimir    2005/01/01 16:00:00 PST

  Modified files:
    libraries/base/GHC   Handle.hs 
    libraries/base/System Process.hs 
    libraries/base/System/Posix Internals.hs 
    libraries/base/cbits lockFile.c 
    libraries/base/include HsBase.h lockFile.h 
  Log:
  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.
  
  Revision  Changes    Path
  1.38      +17 -14    fptools/libraries/base/GHC/Handle.hs
  1.4       +1 -1      fptools/libraries/base/System/Process.hs
  1.20      +0 -12     fptools/libraries/base/System/Posix/Internals.hs
  1.4       +13 -44    fptools/libraries/base/cbits/lockFile.c
  1.64      +13 -5     fptools/libraries/base/include/HsBase.h
  1.2       +6 -2      fptools/libraries/base/include/lockFile.h


More information about the Cvs-libraries mailing list