Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow trigger from Named Pipes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Slow trigger from Named Pipes
Divers
Thread ID:
00913257
Message ID:
00913257
Vues:
64
I have been playing with MailSlots and Names Pipes but they seem to suffer from an unexpected delay of around 60-150ms when called from VFP.

The Server is looping around a ReadFile() waiting for input, this loop takes 4ms so the ReadFile() is being called every 4ms and when there is data to read the SECONDS() are displayed. There is also a seperate (client) instance of Fox that writes to this file using WriteFile() and displays the SECONDS(). Unfortunately there is normally this unexpacted delay.

This feels like a Fox induced problem in that during testing I sometimes got this delay down to zero by very frequently clicking the mouse.

Thanks,
Nick
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform