Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FLOCK() and RLOCK() differences
Message
 
 
À
12/09/2003 11:13:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00828484
Message ID:
00828529
Vues:
18
Hi Fabio,

My tests show that RLOCK('0') kills FLOCK() so there's nothing to release.

>Thanks Sergey,
>- EXCLUSIVE get exclusive full RW
>- FLOCK() get exclusive INSERT/UPDATE/DELETE
>- RLOCK('0') get exclusive INSERT ( lock RECCOUNT() )
>- RLOCK('n1,n2,') get exclusive UPDATE/DELETE for a record list.
>
>But if i do ( :
>
>FLOCK()
>....
>RLOCK('0')
>* now i want release FLOCK() but maintain the exclusive on insert ?
>* what I write? UNLOCK ????
>
>
>Fabio
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform