Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UNLOCK causes VFP 9 to hang
Message
De
25/02/2005 12:25:02
 
 
À
25/02/2005 11:02:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00990483
Message ID:
00990610
Vues:
16
Thank you. My application locks record in both aliases. Changing UNLOCK command to
UNLOCK ALL
command fixes this problem.

Btw, I described also the following problem:

"Application toolbar docked to upper or lower border in screen is not visible in VFP 9 application running under Windows 98"

I think this is always reproducible.

Shoult I report this to Microsoft as bug ?

>We have had a report where this happens if you use a table then use the table again, and lock records in both aliases.
>
>Is this what your application does?
>
>See thread 981159, there is a workaround listed in the thread as well, using UNLOCK RECORD instead of UNLOCK.
>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform