Hi Jeff,

----- Original Message ----- 
From: "Jeff Ishaq" <[EMAIL PROTECTED]>


> I believe the DmSyncDatabase() call was effective at preventing
disappearing PDBs when placed after DmWrite(), however I don't recall if it
was placed after reads as well.  I'm going to guess the latter is not
necessary.

That might reduce the data loss, but does not remove it. A few weeks ago
when I was behind this problem, I tested this possibility, too. Once the PDA
was running at full speed and a crash occured, some of the last writes were
lost disregarding which sync calls were issued. I am talking about a TX;
T650 did not have any single problem.

I tested also small artificial delays (should give enough space for other
threads) and they might have failed, too. But I am not 100% sure here as
this solution was not acceptable for us anyway.

With best regards,
    Jan Slodicka
    Resco, Palm Division


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

Reply via email to