Re: [systemd-devel] [systemd-level]: How to share the same DBUS between the main process and the new thread?

2020-04-23 Thread Lennart Poettering
On Do, 23.04.20 21:31, www ([email protected]) wrote: > Dear all, > > > I write a new service and the service need wait the signal. At the same time, > I need to start a new thread to get information. If the two share the same > DBUS, the following problems will arise: > terminate called afte

[systemd-devel] [systemd-level]: How to share the same DBUS between the main process and the new thread?

2020-04-23 Thread www
Dear all, I write a new service and the service need wait the signal. At the same time, I need to start a new thread to get information. If the two share the same DBUS, the following problems will arise: terminate called after throwing an instance of 'sdbusplus::exception::SdBusError' what():