Following Lurchi's lead at presenting half-baked ideas, I've pushed mine directly into Git (but right now it doesn't _do_ anything, it's just a sketch). The diff is here:
https://gnunet.org/git/gnunet.git/commit/?id=d486f5da0f495d817a19efd077501c25e4eef6fa Note that a few things have undefined semantics (ET_HUP/ERR/PRIV/NVAL) as we need to define precisely how those map to select/poll/epoll/kqueue to make them useful. I took some inspiration from glib here, but maybe we can do better. Also, I have _no_ idea whether this will play nicely with tokio, which is something we should discuss on Mumble (or here) ASAP. Once the API is reasonable, my plan is that we should implement it for a few sufficiently diverse drivers (roughly in the order of select, epoll, tokio, glib) and see how badly it blows up in our faces ;-). On 03/22/2017 12:12 AM, lurchi wrote: > > This is my first idea and it's possible that I overlooked something, > the tokio.rs stuff is not the easiest to see through.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ GNUnet-developers mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnunet-developers
