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/event.c | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/core/event.c (limited to 'src/core/event.c') diff --git a/src/core/event.c b/src/core/event.c deleted file mode 100644 index ab157b02..00000000 --- a/src/core/event.c +++ /dev/null @@ -1,27 +0,0 @@ -// -// Copyright 2017 Garrett D'Amore -// -// This software is supplied under the terms of the MIT License, a -// copy of which should be located in the distribution where this -// file was obtained (LICENSE.txt). A copy of the license may also be -// found online at https://opensource.org/licenses/MIT. -// - -#include "core/nng_impl.h" - -#include -#include - -void -nni_ev_init(nni_event *event, int type, nni_sock *sock) -{ - memset(event, 0, sizeof(*event)); - event->e_type = type; - event->e_sock = sock; -} - -void -nni_ev_fini(nni_event *event) -{ - NNI_ARG_UNUSED(event); -} -- cgit v1.2.3-70-g09d2