Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between DBus and other Interprocess Communications method

When i studied about Linux interprocess Communications, i have known there were some method as: pipe, message queue, socket, signal, shared memory, semaphore and there is no method named Dbus.

But today, when i research about Dbus, i read that: "D-Bus is a system for interprocess communication (IPC)" (See that link: https://en.wikipedia.org/wiki/D-Bus)

So my question is: What is the different between DBus and other IPC methods?

like image 783
Viet Avatar asked Dec 04 '25 18:12

Viet


1 Answers

There is no technical, but historical difference.

D-Bus didn't used to be a Linux (i.e. kernel) IPC, but an additional middleware IPC. But in the course of introduction of systemd, D-Bus became for several Linux distributions a part of the basic system.

like image 154
Matthias Avatar answered Dec 07 '25 08:12

Matthias



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!