Creating objects on the same bus_name from multiple processes.

Rémi Denis-Courmont remi at remlab.net
Sat May 8 09:49:39 PDT 2010


Le samedi 8 mai 2010 19:34:57 Mike MacHenry, vous avez écrit :
> Should I just scrap D-Bus all together and write my own inter-process
> communication? Are their any other IPC libraries that can handle
> something like this?

No. You just need to instantiate your own bus. The system bus is simply not 
the right place for this. And there is no session bus. So by elimination, you 
need your own bus. There you won't have naming restrictions.

You can also write your own IPC. But you will still need to route messages to 
the right destination - you simply cannot share the Unix 'server' socket (or 
whatever) across multiple processes. The kernel would deliver message to the 
first process that can receive them, not to the intended receiver.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis


More information about the dbus mailing list