Fixes assertion on pipe.cpp:237 when swap fills up.

Fixes swap::full () functionality

Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
This commit is contained in:
Mikko Koppanen
2010-12-15 20:10:27 +01:00
committed by Martin Sustrik
parent a46980babe
commit 27e83cc525
6 changed files with 39 additions and 12 deletions

View File

@@ -59,8 +59,12 @@ namespace zmq
// Returns true if the swap is empty; false otherwise.
bool empty ();
// Returns true if and only if the swap is full.
bool full ();
// // Returns true if and only if the swap is full.
// bool full ();
// Returns true if the message fits into swap.
bool fits (zmq_msg_t *msg_);
private: