aboutsummaryrefslogtreecommitdiff
path: root/src/core/msgqueue.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-12-11 21:25:12 -0800
committerGarrett D'Amore <garrett@damore.org>2018-12-11 21:25:12 -0800
commitebefc71efae64b72ce75efe10c447344edf7242f (patch)
tree6882a5739d37d6945d04ddbd5ee2fdcde79ee526 /src/core/msgqueue.h
parent8961f34ca432a6d672b71330e7f82097926f6326 (diff)
downloadnng-ebefc71efae64b72ce75efe10c447344edf7242f.tar.gz
nng-ebefc71efae64b72ce75efe10c447344edf7242f.tar.bz2
nng-ebefc71efae64b72ce75efe10c447344edf7242f.zip
fixes #812 message queue put_error unused
Diffstat (limited to 'src/core/msgqueue.h')
-rw-r--r--src/core/msgqueue.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/core/msgqueue.h b/src/core/msgqueue.h
index 1af8461c..3340e846 100644
--- a/src/core/msgqueue.h
+++ b/src/core/msgqueue.h
@@ -44,19 +44,6 @@ extern void nni_msgq_aio_get(nni_msgq *, nni_aio *);
// the message queue.
extern int nni_msgq_tryput(nni_msgq *, nni_msg *);
-// nni_msgq_set_error sets an error condition on the message queue,
-// which causes all current and future readers/writes to return the
-// given error condition (if non-zero). Threads waiting to put or get
-// are woken as well, if non-zero. If zero, then any present error
-// condition is cleared, and waiters are not woken (there shouldn't be
-// any waiters unless it was already zero.)
-extern void nni_msgq_set_error(nni_msgq *, int);
-
-// nni_msgq_set_put_error sets an error condition on the put side of the
-// message queue, and for that side behaves like nni_msgq_set_error.
-// Readers (nni_msgq_get*) are unaffected.
-extern void nni_msgq_set_put_error(nni_msgq *, int);
-
// nni_msgq_set_get_error sets an error condition on the get side of the
// message queue, and for that side behaves like nni_msgq_set_error.
// Readers (nni_msgq_put*) are unaffected.