On Sat, Jan 26, 2013 at 10:26:00AM +0100, Max Kellermann wrote:
> There are still a few missing pieces before we can replace the
> GMainLoop completely.  See src/output/HttpdClient.cxx.
> 
> What is a replacement that runs on Linux (POSIX), Windows and Android?
> Or shall we just roll our own?

Although I haven't worked with GMainLoop or libevent, libev (which I
have worked with before) seems like a good candidate for a event loop,
and it also has C++ bindings.

Manpage: http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod


HTH,
Jonathan Neuschäfer


PS: It can also watch files for changes (using inotify on Linux, and
    polling with stat() everywhere else).

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to