Could really use flock right now, any progress on this?
On Friday, September 2, 2011 10:29:29 PM UTC+2, Matt Sergeant wrote: > > On Fri, Sep 2, 2011 at 4:05 PM, Ryan Dahl <[email protected]> wrote: > >> > I do also think that even if this is just a basic call to >> > flock/lockf/LockFileEx then the docs or FAQ can just say "Sorry your OS >> > implementation of flock() sucks - patches welcome". >> > Matt. >> >> A file locking API would be welcome. It belongs in libuv and needs to >> support Solaris and Windows out of the box. >> > > OK, if I get chance this holiday weekend I'll have a look at migrating it > into libuv, and making it use fcntl where flock isn't available. No > guarantees though - have a few plans already this w/e. >
