Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Craig uses flock() instead of rlock()
Message
De
24/06/1999 08:32:28
 
 
À
24/06/1999 07:04:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00233393
Message ID:
00233432
Vues:
26
>I looked primary key generation routine from Craig website and
>found that it uses flock() instead on rlock()
>
>This causes several perfomance slowdown if there are many
>different primary keys required concurrently.
>
>In code comment there is a note that there are problems using
>rlock().
>
>Can anybody give me information against using rlock()
>to lock record in a table used for sequential
>primary key generation ?

I found that there was contention at times on the keys table when using RLOCK, so I changed it and my problems went away.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform