mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-24 09:12:30 +02:00
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:
committed by
Martin Sustrik
parent
a46980babe
commit
27e83cc525
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user