Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UNLOCK causes VFP 9 to hang
Message
De
25/02/2005 09:03:02
 
 
À
25/02/2005 08:40:46
Walter Meester
HoogkarspelPays-Bas
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:
00990499
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform