On Wed, 24 Jun 2009, Szak�ts Viktor wrote: > No. I've checked and it isn't. > Can it cause any problems?
On some systems hb_fsCommit() executed even for single file may force all disk buffer flushing. In some cases it can be performance killer if application often stores some memvars in files. Longer update time also increase the chance for corrupting by unexpected crashes. If we plan to introduce such things then IMHO it should be global for all files open for writing and hb_fsCommit() calls should be guarded by: if( hb_setGetHardCommit() ) hb_fsCommit( ... ); so user will have a choice to disable it if necessary by: Set( _SET_HARDCOMMIT, .F. ) best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour