Re: [rust-dev] Seattle Meetup in July

2014-07-07 Thread Paul Nathan
A friendly day-of reminder - this meetup is happening TODAY. We have 8 people marked as attending in Eventbrite - I'm looking forward to seeing you! On Tue, Jul 1, 2014 at 1:48 PM, Paul Nathan wrote: > Hello everyone! > > It looks like no one has expressed strong opinions on the actual date of

Re: [rust-dev] Mutiplexing I/O within a task

2014-07-07 Thread Fantix King
> 在 2014年7月5日,下午11:07,Nat Pryce 写道: > > I've been trying to write tasks that wait for both I/O and channel > communication. I've been told that, to maximise communication performance, > channels do not support selecting of both channels and I/O objects. > Therefore a program should signal t

Re: [rust-dev] Mutiplexing I/O within a task

2014-07-07 Thread Nat Pryce
Yes, I do want something like an nio Selector. I'm trying to write it myself using epoll and eventfd on Linux. Binding to the syscall is straightforward. However I can't work out how to get the fds of IO objects (File struct, for example) so am stuck again. The ioserver approach sounds promising