Hi guys,
Do we have a method to lock a file at the OS level? I searched in image but
I cannot find anything. If it would work in gemstone too that would be nice.
Thanks!
--
Mariano
http://marianopeck.wordpress.com
On Mar 13, 2014, at 1:14 PM, Mariano Martinez Peck marianop...@gmail.com
wrote:
Hi guys,
Do we have a method to lock a file at the OS level? I searched in image but I
cannot find anything.
We couldn’t have done airflowing without that feature (which enables horizontal
scaling).
Take a
Hi Mariano,
It is supported directly in OSProcess. See the unit test for examples.
Dave
Hi guys,
Do we have a method to lock a file at the OS level? I searched in image
but
I cannot find anything. If it would work in gemstone too that would be
nice.
Thanks!
--
Mariano
Hi Mariano,
It is supported directly in OSProcess. See the unit test for examples.
Dave
Sorry, I should have been more clear about this. The classes in the
OSProcess package are OSFileLock and OSFileRegionLock, as well as the
methods in category 'file locking' of class UnixOSProcessAccessor.