Add TODO comment to iomux impl

This commit is contained in:
Nils O. Selåsdal
2015-05-11 23:36:23 +02:00
parent 4134482fdb
commit 7dd159aa6a
+2
View File
@@ -43,6 +43,8 @@ struct IOMux {
/* Used by mux implementations to hold their own data/instance */ /* Used by mux implementations to hold their own data/instance */
void *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_select_init(struct IOMux *mux);
int iomux_epoll_init(struct IOMux *mux); int iomux_epoll_init(struct IOMux *mux);