Add asserts and rename pipe set

Rename the pipeset to terminating_pipes, as suggested by Martin H. Adds
asserts to test the pipe is contained in the terminating set where
appropriate.
This commit is contained in:
Ian Barber
2012-06-12 17:56:39 +01:00
parent e5904e63ce
commit bc9ae715c3
2 changed files with 11 additions and 7 deletions

View File

@@ -105,7 +105,7 @@ namespace zmq
zmq::pipe_t *pipe;
// This set is added to with pipes we are disconnecting, but haven't yet completed
std::set<pipe_t *> incomplete_pipes;
std::set<pipe_t *> terminating_pipes;
// This flag is true if the remainder of the message being processed
// is still in the in pipe.