mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01: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
@@ -134,10 +134,10 @@ namespace zmq
|
||||
// Specifies the object to get events from the writer.
|
||||
void set_event_sink (i_writer_events *endpoint_);
|
||||
|
||||
// Checks whether a message can be written to the pipe.
|
||||
// Checks whether messages can be written to the pipe.
|
||||
// If writing the message would cause high watermark and (optionally)
|
||||
// swap to be exceeded, the function returns false.
|
||||
bool check_write ();
|
||||
// if the swap is full, the function returns false.
|
||||
bool check_write (zmq_msg_t *msg_);
|
||||
|
||||
// Writes a message to the underlying pipe. Returns false if the
|
||||
// message cannot be written because high watermark was reached.
|
||||
|
||||
Reference in New Issue
Block a user