Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UNLOCK causes VFP 9 to hang
Message
From
25/02/2005 08:40:46
Walter Meester
HoogkarspelNetherlands
 
 
To
25/02/2005 08:07:34
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00990483
Message ID:
00990495
Views:
20
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform