Re: Using libev in a GUI

2010-01-06 Thread Marc Lehmann
On Wed, Jan 06, 2010 at 10:21:14AM -0800, Tim McClarren wrote: > Actually, I have code that starts and stops watchers on the event loop > associated with thread A, from thread B. I use ev_asyncs to poke thread > A to let him know that watcher state was changed. This seems to work. Well,

Re: libev-3.9 on Windows

2010-01-06 Thread Marc Lehmann
On Wed, Jan 06, 2010 at 12:24:03PM -0500, Michael Lenaghan wrote: > I couldn't find any previous reports of this in the archives; > apologies if it's a repeat. (And perhaps some of these were > intentional; they just caught my eye in a quick scan of the code.) thanks, applied. --

Re: Using libev in a GUI

2010-01-06 Thread Tim McClarren
Marc Lehmann wrote: On Tue, Jan 05, 2010 at 04:27:33PM -0800, John Wright wrote: 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

libev-3.9 on Windows

2010-01-06 Thread Michael Lenaghan
I couldn't find any previous reports of this in the archives; apologies if it's a repeat. (And perhaps some of these were intentional; they just caught my eye in a quick scan of the code.) 510c510 < # define EV_WIN32_HANDLE_TO_FD(handle) _open_osfhandle (fd, 0) --- > # define EV_WIN32_HANDLE_TO_FD