On Thu, 2012-03-15 at 10:34 +0100, Krzesimir Nowak wrote: > 2012/3/14 Patrick Ohly <[email protected]>: > > Hello Chris! > > > > You added a callback parameter to addResource() (formerly known as > > enqueue()) and related functions. There's no documentation for that in > > server.h/cpp. What is it meant to be used for, what kind of constraints > > does it have, etc.? In other words, please document it for me... ;-) > > > > That is my doing again. Will document it. The callback was added, > because addResource calls checkQueue() which calls SetActive, which is > asynchronous. The callback is called when after all SetActive calls > are finished or, if there was no call to SetActive, at the end of > checkQueue(). In short - addResource, removeResource are asynchronous > too, so given callback is called when they are finished.
Any progress on this, and the related questions that I raised in this thread? I'm currently working on auto-sync, but it needs to create a sync session and for that I need to know how we are dealing with the addResource() call. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. _______________________________________________ SyncEvolution mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution
