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);