Replace incomplete count with a std::set

This commit removes the countdown flag and adds a set to store the pipes
that are currently being disconnected.
This commit is contained in:
Ian Barber
2012-06-12 12:13:21 +01:00
parent 7b10586558
commit 4aa5ba3d11
3 changed files with 15 additions and 22 deletions

View File

@@ -33,8 +33,6 @@ static void *server (void *c)
char buffer[16];
int rc, val;
shoulddie = *(long *)sd;
context = zmq_init (1);
assert (context);