Re: [systemd-devel] Multiple notifications using sd_notify

2016-11-25 Thread Lennart Poettering
On Fri, 25.11.16 20:45, Raghavendra. H. R (raghuh...@gmail.com) wrote:

> Hi All,
> 
> Can we use sd_notify multiple times in any application to which can be used
> as notification for other processes.
> 
> If Process B & C both depends & need notification from Process A.
> Can we use sd_notify in Process A multiple times which can be used other
> processes at different times ?

sd_notify() is a communication channel between a service and the
systemd instance running it. It's nothing else really. It isn't really
suitable for communication with any other party.

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] Multiple notifications using sd_notify

2016-11-25 Thread Raghavendra. H. R
Hi All,

Can we use sd_notify multiple times in any application to which can be used
as notification for other processes.


If Process B & C both depends & need notification from Process A.
Can we use sd_notify in Process A multiple times which can be used other
processes at different times ?


--
Regards,

Raghavendra. H. R
(Raghu)
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel