select, poll, epoll from D
Adam D. Ruppe
destructionator at gmail.com
Fri Feb 2 18:03:34 UTC 2018
On Friday, 2 February 2018 at 18:00:45 UTC, Russel Winder wrote:
> Has anyone got any examples of using (select|poll|epoll)
> directly from D. Yes I can work it out from first principles,
> but it would be great to see what others have done in the past
> so as to make use of their work.
I don't have a simplified example but I did use it in my
simpledisplay.d
https://github.com/adamdruppe/arsd/blob/master/simpledisplay.d#L2526
and my really bad eventloop.d
https://github.com/adamdruppe/arsd/blob/master/eventloop.d#L540
it is basically the same as you'd use it in C.
More information about the Digitalmars-d-learn
mailing list