[Haskell-cafe] Re: File locked unnecessarily

Vyacheslav Akhmechet coffeemug at gmail.com
Wed Dec 6 15:26:37 EST 2006


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 <ariep at xs4all.nl> wrote:
>
> 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 size. This will
> take a while.
>
> By the way, the rewrite I mentioned (which introduced the unwanted
> locking) did not touch the code which deals with the file, but it did
> change the program to load that code dynamically (using hs-plugins). Could
> that possibly be related to the file locking problem?
>
>
> Thanks,
>
> Arie
>
> _______________________________________________
> 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