2012/3/16 Patrick Ohly <[email protected]>:
> On Thu, 2012-03-15 at 14:43 +0100, Patrick Ohly wrote:
>> I still think resources should be added to m_waitingResources before
>> construction is complete. Activating the object and notifying the
>> caller
>> can wait until the resource is really usable (= helper ready).
>
> And one more observation: running the helper should get delayed until it
> is really needed, which probably means until the resource is ready to
> become active.

Not really, I am afraid - there are methods that does not need Session
to be active. GetStatus for example. Or maybe I did not understand
you.

> Imagine having 100 pending session requests. An entry in
> m_waitingResources is cheap enough to handle that (admittedly unlikely)
> case, but combine that with 100 syncevo-dbus-helper processes and we
> have a problem.
>
> --
> 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

Reply via email to