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