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

Attachment: flock.patch
Description: Binary data

Attachment: test-flock.neko
Description: Binary data

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

Reply via email to