i have an extension for this that should compile fine on any *nix system
(testers wanted) avialable at
Just to confirm it compiles fine in Cygwin. Though I don't have an nfs mount available to test with.
Rob
i have an extension for this that should compile fine on any *nix system
(testers wanted) avialable at
Just to confirm it compiles fine in Cygwin. Though I don't have an nfs mount available to test with.
Rob
you could just test locally. if it works there it works. what i mean is,
it's beyond the scope of the extension to know if the actual kernel code
works when applied to an nfs filesystem vs. a local one - it just makes the
call to fcntl and trusts that the impl works.
here's something you could try:
require 'posixlock'
def lock_test
pid = Process.pid
42.times do
open(__FILE__,'r+'){|f| f.posixlock(File::LOCK_EX) and puts "locked by <#{ pid }>"}
end
end
fork ? lock_test && Process.wait : lock_test
thanks VERY much for checking that out!!! i'll start a list of known
successful compiles - can you give me anymore info? versions, win platform,
etc.?
kind regards.
-a
On Wed, 18 Aug 2004, Robert McGovern wrote:
i have an extension for this that should compile fine on any *nix system
(testers wanted) avialable atJust to confirm it compiles fine in Cygwin. Though I don't have an nfs mount available to test with.
EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
PHONE :: 303.497.6469
A flower falls, even though we love it;
and a weed grows, even though we do not love it. --Dogen
===============================================================================