[Haskell-cafe] Re: File locked unnecessarily

2006-12-06 Thread Arie Peterson
Vyacheslav Akhmechet wrote: > Yes. I've run into similar issues with hs-plugins (albeit not the > same). What platform are you running on? How are you compiling your > code? Try compiling it with the -threaded flag and see if it fixes > your problem. My platform is amd64 (x86_64). I usually compi

Re: [Haskell-cafe] Re: File locked unnecessarily

2006-12-06 Thread Vyacheslav Akhmechet
Yes. I've run into similar issues with hs-plugins (albeit not the same). What platform are you running on? How are you compiling your code? Try compiling it with the -threaded flag and see if it fixes your problem. On 12/6/06, Arie Peterson <[EMAIL PROTECTED]> wrote: Ian Lynagh wrote: > >> Does

[Haskell-cafe] Re: File locked unnecessarily

2006-12-06 Thread Arie Peterson
Ian Lynagh wrote: > >> Does anyone know what could cause this locking and/or how to prevent it? > > Nothing else springs to mind. Are you able to send an example that shows > the problem? (obviously the smaller the example, the better). I'll try to cut down the offending program to a workable siz

[Haskell-cafe] Re: File locked unnecessarily

2006-12-03 Thread Arie Peterson
Vyacheslav Akhmechet <[EMAIL PROTECTED]> wrote: > Are you using hGetContents? If you are, take a closer look at the > documentation. The function creates a lazy stream and until you finish > reading from it the file will be in the "semi-closed" state (which > means it will be locked). No. I read/