[darcs-devel] [issue1774] darcs library is not thread-safe

Ganesh Sittampalam bugs at darcs.net
Fri Apr 2 10:29:41 UTC 2010


Ganesh Sittampalam <ganesh at earth.li> added the comment:

In msg10613, Duncan suggests use of the POSIX openat function where 
available:

> Here's a crazy idea: use the POSIX "*at" functions, see man
> openat for an explanation and links to the related functions.
> The API can be emulated on Windows at the performance cost that
> has already been noted.

> The downside of course would be not using the ordinary System.*
> functions and having to write your own binding. Of course such
> a binding would be useful more widely, probably best as 
> an implementation substrate in some new IO lib that has an
> abstract FilePath type.

----------
nosy: +duncan

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1774>
__________________________________


More information about the darcs-devel mailing list