Bug 23722

Summary: cannot create unshared connections using DBus-GLib bindings
Product: dbus Reporter: DavidT <david.tucker>
Component: GLibAssignee: Rob Taylor <rob.taylor>
Status: RESOLVED DUPLICATE QA Contact: John (J5) Palmieri <johnp>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: adds dbus_g_bus_get_private() function

Description DavidT 2009-09-04 16:05:08 UTC
Created attachment 29241 [details] [review]
adds dbus_g_bus_get_private() function

Hi,

There is currently no way to create a private connection using the DBus-GLib bindings.  This is needed to receive events in multiple threads at once since the connection is associated with a single mainloop context. 

With the attached patch, I'm recommending the addition of a dbus_g_bus_get_private() function that calls dbus_bus_get_private().  

You may also want to check out bug 23633 for a fix to allow context switching.

Thanks,
David
Comment 1 Simon McVittie 2011-03-28 07:05:15 UTC
Fixed in 0.84, Bug #19623.

*** This bug has been marked as a duplicate of bug 19623 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.