locked record

Kenneth Brody kenbrody at spamcop.net
Tue Jan 6 10:07:53 PST 2015


On 1/6/2015 11:09 AM, Fairlight wrote:
> On Tue, Jan 06, 2015 at 10:59:15AM -0500, Kenneth Brody thus spoke:
>>
>> Of course, the OP was talking about Windows, making the above
>> meaningless in that context, as there is no call that I am aware of
>> equivalent to the POSIX fcntl(F_GETLK) call, which will return info
>> about existing locks by other processes.
>
> Then what are you using under Windows to do byte-range locking?

With the Windows API for such things -- LockFile() and UnlockFile().

-- 
Kenneth Brody


More information about the Filepro-list mailing list