mirror of
https://github.com/zeromq/libzmq.git
synced 2025-05-29 23:42:41 +02:00
Fix some typos
This commit is contained in:
parent
08d90e8a05
commit
76d86c3fc3
@ -388,7 +388,7 @@ void zmq::pipe_t::terminate (bool delay_)
|
|||||||
state = term_ack_sent;
|
state = term_ack_sent;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If there are pending messages still availabe, do nothing.
|
// If there are pending messages still available, do nothing.
|
||||||
else
|
else
|
||||||
if (state == waiting_for_delimiter) {
|
if (state == waiting_for_delimiter) {
|
||||||
}
|
}
|
||||||
|
@ -98,10 +98,10 @@ namespace zmq
|
|||||||
// Remove unfinished parts of the outbound message from the pipe.
|
// Remove unfinished parts of the outbound message from the pipe.
|
||||||
void rollback ();
|
void rollback ();
|
||||||
|
|
||||||
// Flush the messages downsteam.
|
// Flush the messages downstream.
|
||||||
void flush ();
|
void flush ();
|
||||||
|
|
||||||
// Temporaraily disconnects the inbound message stream and drops
|
// Temporarily disconnects the inbound message stream and drops
|
||||||
// all the messages on the fly. Causes 'hiccuped' event to be generated
|
// all the messages on the fly. Causes 'hiccuped' event to be generated
|
||||||
// in the peer.
|
// in the peer.
|
||||||
void hiccup ();
|
void hiccup ();
|
||||||
@ -181,7 +181,7 @@ namespace zmq
|
|||||||
// active: common state before any termination begins,
|
// active: common state before any termination begins,
|
||||||
// delimiter_received: delimiter was read from pipe before
|
// delimiter_received: delimiter was read from pipe before
|
||||||
// term command was received,
|
// term command was received,
|
||||||
// waiting_fo_delimiter: term command was already received
|
// waiting_for_delimiter: term command was already received
|
||||||
// from the peer but there are still pending messages to read,
|
// from the peer but there are still pending messages to read,
|
||||||
// term_ack_sent: all pending messages were already read and
|
// term_ack_sent: all pending messages were already read and
|
||||||
// all we are waiting for is ack from the peer,
|
// all we are waiting for is ack from the peer,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user