diff options
author | Vadim Troshchinskiy <vadim@qindel.com> | 2016-10-18 09:19:28 +0200 |
---|---|---|
committer | Vadim Troshchinskiy <vadim@qindel.com> | 2016-10-28 14:11:52 +0200 |
commit | 30af52eb324f6bf5551869033605e3141d745a40 (patch) | |
tree | 04bf0ac904de17d5b919e9bb447179add9c89567 /nxcomp/Loop.cpp | |
parent | a5de79181092ce829ce3878d3d9ce671c3cd3cbc (diff) | |
download | nx-libs-30af52eb324f6bf5551869033605e3141d745a40.tar.gz nx-libs-30af52eb324f6bf5551869033605e3141d745a40.tar.bz2 nx-libs-30af52eb324f6bf5551869033605e3141d745a40.zip |
Slave channel implementation
When enabled and a connection is made to the port, launches the
process specified in NX_SLAVE_CMD on the other side, and connects
stdin and stdout to the socket.
This is used for VM/client and client/VM communication.
Diffstat (limited to 'nxcomp/Loop.cpp')
-rw-r--r-- | nxcomp/Loop.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp index 46031e70d..09ba6f952 100644 --- a/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp @@ -359,7 +359,7 @@ static void RestoreSignal(int signal); static int HandleChildren(); -static int HandleChild(int child); +int HandleChild(int child); static int CheckChild(int pid, int status); static int WaitChild(int child, const char *label, int force); @@ -6250,6 +6250,8 @@ int HandleChildren() return 1; } + proxy->checkSlaves(); + // // This can actually happen either because we // reset the pid of the child process as soon |