diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-02-18 18:38:54 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-02-18 18:38:54 -0800 |
| commit | eb0d439ac82c49b244615fba4226a0351c4efd64 (patch) | |
| tree | acbcfb796088b3b9c572b0b914a35079dc4a5d00 /src/core/msgqueue.h | |
| parent | 82e058a2abae40760f0f9956cdb9d21f8a512624 (diff) | |
| download | nng-eb0d439ac82c49b244615fba4226a0351c4efd64.tar.gz nng-eb0d439ac82c49b244615fba4226a0351c4efd64.tar.bz2 nng-eb0d439ac82c49b244615fba4226a0351c4efd64.zip | |
We don't need putback on message queues after all.
Diffstat (limited to 'src/core/msgqueue.h')
| -rw-r--r-- | src/core/msgqueue.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/msgqueue.h b/src/core/msgqueue.h index 41cda53e..7451139d 100644 --- a/src/core/msgqueue.h +++ b/src/core/msgqueue.h @@ -47,12 +47,6 @@ extern int nni_msgq_put(nni_msgq *, nni_msg *); // if there is no room to put the message it simply returns NNG_EAGAIN. extern int nni_msgq_tryput(nni_msgq *, nni_msg *); -// nni_msgq_putback returns a message to the head of the queue. -// This is a non-blocking operation, and it returns NNG_EAGAIN if there -// is no room. There is always at least room for one putback after -// a message is retried with nni_msgq_get. -extern int nni_msgq_putback(nni_msgq *, nni_msg *); - // nni_msgq_get gets the message from the queue. It blocks until a // message is available, or the queue is closed, returning either 0 on // success or NNG_ECLOSED if the queue was closed. If a message is |
