Using libev in a GUI

John Wright johnw at adobe.com
Wed Jan 6 01:27:33 CET 2010


I need to embed a very simple server in a Mac carbon bundle that will be loaded when a GUI starts up.  It can't hang the main thread as the GUI needs to start responding to user interaction.  So I can't start an ev_loop in the main thread.  Are there any examples of people starting the ev_loop in another thread in this sort of situation?  I am not an experienced C programmer and was just hoping to build a simple webserver that will serve up one file.

Thanks!

John Wright
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20100105/c49ce02f/attachment.html>


More information about the libev mailing list