[libmill] Re: wait for multiple fds

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: libmill@xxxxxxxxxxxxx
  • Date: Fri, 24 Jul 2015 15:15:03 +0200

Hi Delio,

Why not use a coroutine per fd?

Martin

On 2015-07-24 14:35, Delio Brignoli wrote:

Hello Martin,

Thanks for creating libmill it looks interesting and I like the
approach. I have a question about fdwait(): it waits for a single fd,
is this deliberate? Would a mechanism to wait for multiple fds be
useful or was libmill designed like this to enforce having a coroutine
for each fd one want to wait for?

Thanks

Delio


Other related posts: