Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique key question - How do you do it?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00266795
Message ID:
00285374
Vues:
27
>Jim,
>Is it ever possible to get stuck in a loop waiting for rlock()?
>
>DO WHILE NOT RLOCK()
>ENDDO
>
>Should there be some escape code here in case it can't lock or will it always eventually lock? Thanks for your help.

Marcus,

The only thing ever trying to lock that table is the unique key generation routine. You could write code to deal with an unvailable lock, but in the years I've been doing this way it has never locked up on me.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform