aboutsummaryrefslogtreecommitdiff
path: root/src/core/options.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-10-24 15:26:14 -0700
committerGarrett D'Amore <garrett@damore.org>2017-10-24 16:30:09 -0700
commit4250fc119057eb6a6b534e9c0758488cc5fb034e (patch)
treec64efe1ae1115cf3aacdedf365c11398c8d99ba8 /src/core/options.h
parenta7b20c3babd965b12dec8cb5ff0883a4d8d1116d (diff)
downloadnng-4250fc119057eb6a6b534e9c0758488cc5fb034e.tar.gz
nng-4250fc119057eb6a6b534e9c0758488cc5fb034e.tar.bz2
nng-4250fc119057eb6a6b534e9c0758488cc5fb034e.zip
fixes #132 Implement saner notification for file descriptors
This eliminates the "quasi-functional" notify API altogether. The aio framework will be coming soon to replace it. As a bonus, apps (legacy apps) that use the notification FDs will see improved performance, since we don't have to context switch to give them a notification.
Diffstat (limited to 'src/core/options.h')
-rw-r--r--src/core/options.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/options.h b/src/core/options.h
index beeca951..d373851f 100644
--- a/src/core/options.h
+++ b/src/core/options.h
@@ -58,9 +58,6 @@ extern int nni_setopt_size(size_t *, const void *, size_t, size_t, size_t);
// nni_getopt_size obtains a size_t option.
extern int nni_getopt_size(size_t, void *, size_t *);
-// nni_getopt_fd obtains a notification file descriptor.
-extern int nni_getopt_fd(nni_sock *, nni_notifyfd *, int, void *, size_t *);
-
extern int nni_chkopt_ms(const void *, size_t);
extern int nni_chkopt_int(const void *, size_t, int, int);
extern int nni_chkopt_size(const void *, size_t, size_t, size_t);