From 7dd159aa6a23c1de6ebfe2d5bf48c16547b599ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Mon, 11 May 2015 23:36:23 +0200 Subject: [PATCH] Add TODO comment to iomux impl --- src/iomux_impl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/iomux_impl.h b/src/iomux_impl.h index ea51873..83dfeb5 100644 --- a/src/iomux_impl.h +++ b/src/iomux_impl.h @@ -43,6 +43,8 @@ struct IOMux { /* Used by mux implementations to hold their own data/instance */ void *instance; }; +//TODO - have iomux_xx_init embed struct IOMux and get rid of IOMux.instance +//for better cache friendiness int iomux_select_init(struct IOMux *mux); int iomux_epoll_init(struct IOMux *mux);