Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Waiting for lock
Message
De
24/03/1997 23:29:25
 
 
À
24/03/1997 10:32:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00024916
Message ID:
00025477
Vues:
57
>>>>>Second, there is the problem that your RLOCK is being limited to 10 attempts (of either 2 tries or 2 seconds each). a SAFER, simpler coding would be:
>>>>>DO WHILE NOT RLOCK()
>>>>>ENDDO
>>>>
>>>>This is cut in stone, but it might lock you're app forever...
>>>>
>>>
>>>Check out the command Set Reprocess AND Set Lock
>>>
>>>It sounds as if you may have Set Reprocess To 10
>>>as a default on your system.
>>
>>Why? I can't follow you here.
>>Vlad
>
>
>The above says "limited to 10 attempts" ... thats what the command Set Reprocess To ## does.

Yes. The problem is a little more complicate. (It's not my problem. :)) What I didn't understood was "It sounds as if...", because it was nothing there to sound as if... It's clear what Set Reprocess is doing.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform