X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fslave.h;h=6b66214735a2b6c484473a575dfe609928dc4d01;hb=44fa2f8ded70962951bdba4d1042c2c0d352bb65;hp=40b16ad4c0f86ea4b92e78d9bee058782ef6aeae;hpb=063fe056d81e8afd218f6a40ee62aa3463df3e9a;p=matches%2Fswarm.git diff --git a/src/slave.h b/src/slave.h index 40b16ad..6b66214 100644 --- a/src/slave.h +++ b/src/slave.h @@ -10,6 +10,7 @@ typedef struct { int in; int out; + int socket_child_end; // the child's end of the socket int pid; // pid of the process running the slave; == 0 for network slaves char * name; char * addr; @@ -17,7 +18,7 @@ typedef struct Task * task_pool; // tasks specific to the slave - int ssh_pid; + bool running; } Slave;