Re[2]: was RE: Is DmSyncDatabase() synchronous?

2005-05-14 Thread A.Kazantsev
Where the DmSyncDatabase documented?

BC You mean it is synchronous.  An asynchronous call may not complete before 
returning.


BC -Original Message-

BC From:  David Thacker [EMAIL PROTECTED]
BC Subj:  Re: was RE: Is DmSyncDatabase() synchronous?
BC Date:  Thu May 12, 2005 7:37 am
BC Size:  1K
BC To:  Palm Developer Forum palm-dev-forum@news.palmos.com

BC DmSyncDatabase appears to to me to be asynchronous, and appears to actually
BC do the synchronizing at the time that you call it (as opposed to flagging
BC for later syncing).  In my test app, I (attempt to) create 6 records and
BC call DmSyncDatabase every 1000 records.  As the database grows, the
BC DmSyncDatabase call takes longer and longer to complete.

BC No, the test app never does make it to 6 records on the T5 :-(  I have
BC gotten it to make a database up to 43000 records though (60 MB in size!!).

BC David Thacker



BC Jeffry Loucks [EMAIL PROTECTED] wrote in message 
BC news:[EMAIL PROTECTED]

BC I realize the question appears to be simply a play on words, but I'm serious
BC :)

BC If nobody knows if the call is synchronous, has anyone observed anything
BC that would indicate it is not?

BC Thanks.

BC -Original Message-
BC From: Jeffry Loucks
BC To: Palm Developer Forum
BC Sent: 5/10/2005 4:58 PM
BC Subject: Is DmSyncDatabase() synchronous?

BC Anyone know if the new DmSyncDatabase() call is synchronous?
BC I'd like to know if, upon return, the database is completely
BC flushed to flash or is it simply flagged to be flushed. I
BC suspect it is synchronous, but I don't know what's behind the
BC scenes, so I'm not making any assumptions. 




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


Re[2]: was RE: Is DmSyncDatabase() synchronous?

2005-05-14 Thread Dr. Vesselin Bontchev
 Where the DmSyncDatabase documented?

There:

http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/DataAndResourceManager.html#1053148

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


Re: was RE: Is DmSyncDatabase() synchronous?

2005-05-12 Thread David Thacker
DmSyncDatabase appears to to me to be asynchronous, and appears to actually 
do the synchronizing at the time that you call it (as opposed to flagging 
for later syncing).  In my test app, I (attempt to) create 6 records and 
call DmSyncDatabase every 1000 records.  As the database grows, the 
DmSyncDatabase call takes longer and longer to complete.

No, the test app never does make it to 6 records on the T5 :-(  I have 
gotten it to make a database up to 43000 records though (60 MB in size!!).

David Thacker



Jeffry Loucks [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]

I realize the question appears to be simply a play on words, but I'm serious
:)

If nobody knows if the call is synchronous, has anyone observed anything
that would indicate it is not?

Thanks.

-Original Message-
From: Jeffry Loucks
To: Palm Developer Forum
Sent: 5/10/2005 4:58 PM
Subject: Is DmSyncDatabase() synchronous?

Anyone 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. 



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


Re: was RE: Is DmSyncDatabase() synchronous?

2005-05-12 Thread Ben Combee
You mean it is synchronous.  An asynchronous call may not complete before 
returning.


-Original Message-

From:  David Thacker [EMAIL PROTECTED]
Subj:  Re: was RE: Is DmSyncDatabase() synchronous?
Date:  Thu May 12, 2005 7:37 am
Size:  1K
To:  Palm Developer Forum palm-dev-forum@news.palmos.com

DmSyncDatabase appears to to me to be asynchronous, and appears to actually 
do the synchronizing at the time that you call it (as opposed to flagging 
for later syncing).  In my test app, I (attempt to) create 6 records and 
call DmSyncDatabase every 1000 records.  As the database grows, the 
DmSyncDatabase call takes longer and longer to complete.

No, the test app never does make it to 6 records on the T5 :-(  I have 
gotten it to make a database up to 43000 records though (60 MB in size!!).

David Thacker



Jeffry Loucks [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]

I realize the question appears to be simply a play on words, but I'm serious
:)

If nobody knows if the call is synchronous, has anyone observed anything
that would indicate it is not?

Thanks.

-Original Message-
From: Jeffry Loucks
To: Palm Developer Forum
Sent: 5/10/2005 4:58 PM
Subject: Is DmSyncDatabase() synchronous?

Anyone 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. 



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




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


was RE: Is DmSyncDatabase() synchronous?

2005-05-11 Thread Jeffry Loucks

I realize the question appears to be simply a play on words, but I'm serious
:)

If nobody knows if the call is synchronous, has anyone observed anything
that would indicate it is not?

Thanks.

-Original Message-
From: Jeffry Loucks
To: Palm Developer Forum
Sent: 5/10/2005 4:58 PM
Subject: Is DmSyncDatabase() synchronous?

Anyone 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.

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