At 04:58 PM 5/10/2005, you wrote:
Any one know if the new DmSyncDatabase() call is synchronous? I'd like to
know if, upon return, the database is completely flushed to flash or is it
simply flagged to be flushed. I suspect it is synchronous, but I don't know
what's behind the scenes, so I'm not making any assumptions.

DmSyncDatabase will completely write the changes before it returns. At least, it will make all the calls to VFS to do the file modifications. However, DmSyncDatabase may fail -- if there isn't enough space on the volume that holds the databases to write the changes, the changes will be thrown away and you'll get an error code.


-- Ben Combee, Senior Software Engineer, palmOne, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Forum Archives:   http://news.palmos.com/read/all_forums/


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to