Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can an object know of it's existence?
Message
De
03/12/2003 04:06:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00855003
Message ID:
00855317
Vues:
23
The code works like this: the Fox that runs first bumps its SYS(2015) counter a little to make it run ahead of system time and then it puts a SYS(2015) value into the clipboard. The second Fox retrieves this value and spins in a loop calling SYS(2015) until the return value matches the value generated by the other Fox.

The reason for the bumping in the first Fox is to give you ample time to switch from one Fox to another; the reason for the 'out-of-order' pasting of the snippets should be obvious. ;-)

With "IPC" I meant inter-process communication.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform