This is part of a big application.
It takes some hours to extract the repro from this application.
So I tried to describe this problem first hoping that there is a solution.
So please confirm, if you really need this.
>Hi andrus,
>
>Can you provide repro code ? I'm not able to reproduce the issue.
>
>Walter,
>
>
>
>>I have a reproducible case where UNLOCK command causes VFP 9 to hang.
>>
>>I issue RLOCK() in a buffered table containing single added row, check for duplicate key and then issue UNLOCK. I open this table under different aliases.
>>
>>Processor usage goes to 100% forever and my application hangs in the UNLOCK line. I tested this in Windows 98 and in Windows XP .
>>
>>Same code running under VFP 8 and earlier versions works OK. Also If I change RLOCK() to FLOCK(), the problem does not occur.
>>
>>Any idea how to fix this ? Replacing RLOCK() with FLOCK() is not possible since this causes big delays in a heavily accessed multi-user table.
Andrus