[Haskell-cafe] windows file locking

Krasimir Angelov kr.angelov at gmail.com
Wed Oct 11 05:53:50 EDT 2006


Hi Stefan,

Haskell I/O systems implements single writer-multiple readers file locking. See

http://www.haskell.org/ghc/docs/latest/html/libraries/base/System-IO.html#8

Cheers,
  Krasimir

On 10/11/06, Stefan Aeschbacher <haskell at aeschbacher.ch> wrote:
> Hi
>
> I need to open a file and keep it open for writing (a log file). Another
> process has
> to read from this file. On windows the second process (e.g. tail -f) can not
> open the file.
> How can I open a file without this locking?
>
> regards
>
> Stefan
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
>


More information about the Haskell-Cafe mailing list