On Thu, 07.01.16 21:15, Iñigo Martínez ([email protected]) wrote:

> What about the second solution ?
> 
> Do you think that it is a good idea a thread using sd_bus_wait that
> can be cancelled and cleaned later ?

No, we do not suport thread cancellation and have no intention to do
so. Quite frankly I believe that thread cancellation is an inherently
flawed concept.

sd-bus is generally threads-aware, but not thread-safe. i.e. we have
concepts such as having a per-thread default bus, but we will not do
locking and we will not do cancellation.

Sorry,

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to