Marc Lehmann, el 16 de enero a las 05:43 me escribiste: > Not if you are convinced its what people predominantly want. I have as > much data on that as you (i.e. mostly my own: I have more READ than write > watchers, but I don't see why it should be the default. Think readability: > > start (fd); // waits for read events > > this doesn't look intuitive when I remove the comment).
BTW, I noticed you can already do this: ev::io w; w.set (READ); // In a galaxy far, far away from the previous code: w.start (fd); // woops! not that intuitive ;) I will remove the default anyways because I'm a pythonic guy and I should remember that explicit is better than implicit ;) -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------------- Si por el chancho fuera, se autocomerÃa con chimichurri Worshestershire! _______________________________________________ libev mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
