2 + D Programming Language "bindings" to libev
3 + <http://software.schmorp.de/pkg/libev.html> test program.
5 + Written by Leandro Lucarella (2008).
7 + Placed under BOLA license <http://auriga.wearlab.de/~alb/bola/> which is
8 + basically public domain.
17 auto iow = new Io(0, READ,
20 writefln("stdin ready");
22 writef("read %d bytes: %s", ln.length, ln);
23 w.stop; // just a syntax example
24 assert (w.loop !is null);
25 w.loop.unloop(Unloop.ALL); // leave all loop calls
28 assert (iow.loop !is null);
30 auto timerw = new Timer(5.5,
31 (Timer w, int revents)
33 writefln("timeout, revents = ", revents);
34 w.loop.unloop(Unloop.ONE); // example syntax
37 assert (timerw.loop !is null);