On Mon, Jul 18, 2011 at 4:54 PM, Roger Leigh <rle...@codelibre.net> wrote: > On Mon, Jul 18, 2011 at 04:03:41PM +0200, Matthias Klumpp wrote: >> c) the big problem for them about portability is not so much that i won't >> accept the patches. it's primarily that porting it to non-linux is >> practically impossible. about every line of it is non-portable code >> i.e. we already use epoll as a main loop, already there you'll have a >> hard time porting this to something else > > Seriously? It's just a poll interface. How hard could it /possibly/ > be to fall back to using plain poll(2) in the mainloop? It's not > like the interfaces are vastly different. Both poll(2) and epoll_*(2) > do pretty much exactly the same thing. epoll might be a better > performing interface, and scale better, but it's not like poll(2) is > broken or particularly difficult to use. (It's actually far simpler.) > > There is plenty of portable software out there doing exactly this. > systemd isn't particularly special in this respect. Take a look at > apache, for example.
see particularly libevent-core-1.4-2 http://monkey.org/~provos/libevent/ > > > Regards, > Roger > > -- > .''`. Roger Leigh > : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ > `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ > `- GPG Public Key: 0x25BFB848 Please GPG sign your mail. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iEYEARECAAYFAk4kSRMACgkQVcFcaSW/uEhP7wCgriCMOGTncvO4w0uenX/X9HhG > kAIAoJ9++eo2BdnH31jGH9Y+8H9JicLA > =l+PS > -----END PGP SIGNATURE----- > > -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAE2SPAb3SJBJih32mQC4q+Nmj_7pBvzsDaBLpvwd=tvpecv...@mail.gmail.com