[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUnet-developers] Asynchronous IO in Rust

From: Christian Grothoff
Subject: Re: [GNUnet-developers] Asynchronous IO in Rust
Date: Wed, 29 Mar 2017 09:14:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

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:

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 stuff is not the easiest to see through.

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]