[dbus] The meaning of private?
Pavel Strashkin
pavel.strashkin at gmail.com
Wed Mar 14 23:22:26 PDT 2012
Hi Simon,
That is not so difficult as it looks like. That is just a cache.
dbus_bus_get either returns cached instance (system or session bus) or
caches it and then returns. dbus_bus_get_private always returns new
instance without any caching.
2012/3/14 Simon Hong <simon.hong81 at gmail.com>:
> Dear folks,
>
> What is the meaning of the private in the "dbus_bus_get_private()"?
> In the api (dbus_bus_get()) reference, it said "connection to the bus
> already exists, then that connection is returned".
>
> How the connection is already existed??
> I can't understand...
>
> Any explanation will be happy.
>
> Thank you
> --
> ======================================
> Simon Hong
> "Secret of success is consistency to purpose"
>
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>
More information about the dbus
mailing list