>>>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement