diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-03 10:15:22 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-03 10:15:22 -0700 |
| commit | 69ebcc4de91f235fc1f4adfa7cc69b42d7e5b541 (patch) | |
| tree | 41386ba2a9f76d3d74039381a7ac69ff5f0347ff /src/core | |
| parent | 4ed9dadf5e7d17fd42ef4df836b0932972dd29c1 (diff) | |
| download | nng-69ebcc4de91f235fc1f4adfa7cc69b42d7e5b541.tar.gz nng-69ebcc4de91f235fc1f4adfa7cc69b42d7e5b541.tar.bz2 nng-69ebcc4de91f235fc1f4adfa7cc69b42d7e5b541.zip | |
Delete unused msgq_notify. (We use aios instead.)
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/msgqueue.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/msgqueue.h b/src/core/msgqueue.h index af3bc835..b0a33562 100644 --- a/src/core/msgqueue.h +++ b/src/core/msgqueue.h @@ -115,15 +115,4 @@ extern int nni_msgq_cap(nni_msgq *mq); // nni_msgq_len returns the number of messages currently in the queue. extern int nni_msgq_len(nni_msgq *mq); -#define NNI_MSGQ_NOTIFY_CANPUT 1 -#define NNI_MSGQ_NOTIFY_CANGET 2 - -typedef void (*nni_msgq_notify_fn)(nni_msgq *, int, void *); - -// nni_msgq_notify registers a function to be called when the message -// queue state changes. It notifies that the queue is readable, or writeable. -// Only one function can be registered (for simplicity), and it is called -// outside of the queue's lock. -extern int nni_msgq_notify(nni_msgq *, nni_msgq_notify_fn, void *); - #endif // CORE_MSQUEUE_H |
