Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record locking in Fox for dos
Message
De
28/08/2002 03:51:26
Philip Jones
Cornwall County Council
Truro, Royaume Uni
 
 
À
27/08/2002 12:08:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00694053
Message ID:
00694340
Vues:
14
What I've got is something like this

SET REPROCESS TO AUTOMATIC
SELECT NextRef
=FLOCK()
Read the number
increment the number
write it back
unlock

Am I right in thinking that with reprocess set to automatic the flock() function will attempt over and over again to lock the file until a successful lock is placed? In which case it the code below the call to flock() will never be executed unless the file is locked.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform