List Info

Thread: flock patch




flock patch
user name
2007-06-15 19:04:41
Hi Nicolas,

I'm trying to add flock() functionality to Neko for cases when two or more separated processes tries to manipulate files simultaneously. However I'm not sure about my code quality. Please take a look at patch file attached below.

To make tests, run test-flock.neko twice in background:

$ neko test-flock.neko & neko test-flock.neko

--
BR,
Vitali Falileev
http://www.insideable.com
ICQ: 75008864
  
  
Re: flock patch
country flaguser name
France
2007-06-16 05:27:55
> Hi Nicolas,
> 
> I'm trying to add flock() functionality to Neko for
cases when two or 
> more separated processes tries to manipulate files
simultaneously. 
> However I'm not sure about my code quality. Please take
a look at patch 
> file attached below.

The code looks ok, I'll think about integrating it into Neko
standard 
library.

Best,
Nicolas

-- 
Neko : One VM to run them all
(http://nekovm.org)

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )