select, poll, epoll from D
Russel Winder
russel at winder.org.uk
Fri Feb 2 19:30:32 UTC 2018
On Fri, 2018-02-02 at 18:03 +0000, Adam D. Ruppe via Digitalmars-d-
learn wrote:
> 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.
The online documentation doesn't seem to acknowledge the existence of
core.sys package! So how to find core.sys.linux.epoll?
--
Russel.
===========================================
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Road m: +44 7770 465 077
London SW11 1EN, UK w: www.russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20180202/b851de80/attachment.sig>
More information about the Digitalmars-d-learn
mailing list