From 4250fc119057eb6a6b534e9c0758488cc5fb034e Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 24 Oct 2017 15:26:14 -0700 Subject: 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. --- src/core/options.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/core/options.h') 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); -- cgit v1.2.3-70-g09d2