Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flush why not flush?
Message
De
03/02/2003 20:39:26
 
 
À
02/02/2003 16:31:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00748117
Message ID:
00748722
Vues:
49
>Yes, that'll prevent the hardware from returning a "successful" prematurely to the OS.
>
>But how to get the OS to NOT return immediately to VFP (the OS queueing it's own FLUSHes for later execution), that is the question!

Actually, this be done in VFP code. See Nathaniel Moody's post at Message #647125 for sample code using the FlushFileBuffers winapi function.

However, I don't know what the performance impact on the server will be if multiple clients are using it regularly. This is part of the research we need to do before we can add the FlushFileBuffers call to a future version of VFP.

Thanks for adding to the Wishlist!

-Tom

[This post is provided AS-IS with no warranties, and confers no rights.]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform