libustctl: use direct socket communication
authorNils Carlson <nils.carlson@ericsson.com>
Fri, 4 Feb 2011 07:24:51 +0000 (08:24 +0100)
committerNils Carlson <nils.carlson@ericsson.com>
Fri, 25 Feb 2011 08:27:56 +0000 (09:27 +0100)
This patch changes libustctl to be socket instead of pid oriented.
The user is expected to connect to a pid using
ustctl_connect_pid(pid_t) which returns a socket file-descriptor and
then use the socket for the rest of the api. This reduces the amount
of open and closing systemcalls and also makes it possible for a
session daemon to detect process shutdown by the socket closing.

David, this ones for you. :-)

Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.024054 seconds and 4 git commands to generate.