Re: [Libevent-users] message loop

2011-08-02 Thread mosta
I changed the libevent, so that it can be used as I described. The changes are that I turned event_base_loop in three functions: - event_base_loop_init - event_base_loop_process - event_base_loop_clean So that the event loop looks like this: int event_base_loop(struct event_base *base, int flags)

Re: [Libevent-users] message loop

2011-07-07 Thread Kun Xi
Are you talking about the win32 message loop or XLib messages? I doubt libevent support that as libevent mainly focuses on I/O. I remember Twisted can integrate its message loop with WxWindows message loop, you may take a look and get some ideas then. -Kun On Wed, Jul 6, 2011 at 4:20 PM, mosta

Re: [Libevent-users] message loop

2011-07-06 Thread Jardel Weyrich
The libevent book might help :) http://www.wangafu.net/~nickm/libevent-book/Ref3_eventloop.html On Wed, Jul 6, 2011 at 8:20 PM, mosta wrote: > On 07/06/11 22:32, Mark Ellzey wrote: > > On Wed, Jul 06, 2011 at 10:23:57PM +0200, mosta wrote: > >> That I run the main loop and call a function that h

Re: [Libevent-users] message loop

2011-07-06 Thread mosta
On 07/06/11 22:32, Mark Ellzey wrote: > On Wed, Jul 06, 2011 at 10:23:57PM +0200, mosta wrote: >> That I run the main loop and call a function that handles what's >> happening in the event base loop. > If I grok this correctly, you are asking whether you can get a list of > currently active events

Re: [Libevent-users] message loop

2011-07-06 Thread Mark Ellzey
On Wed, Jul 06, 2011 at 10:23:57PM +0200, mosta wrote: > That I run the main loop and call a function that handles what's > happening in the event base loop. If I grok this correctly, you are asking whether you can get a list of currently active events in an event_base? ***

Re: [Libevent-users] message loop

2011-07-06 Thread mosta
On 07/06/11 20:27, Mark Ellzey wrote: > On Wed, Jul 06, 2011 at 08:01:11PM +0200, mosta wrote: >> On 07/06/11 19:39, Mark Ellzey wrote: >>> Can you clarify what you mean by "message loop"? >> I mean the event base loop. > Can you clarify what you mean by "over taking"? > ***

Re: [Libevent-users] message loop

2011-07-06 Thread Juan Pablo Fernandez
Probably not. 2011/7/6 Mark Ellzey : > On Wed, Jul 06, 2011 at 08:01:11PM +0200, mosta wrote: >> On 07/06/11 19:39, Mark Ellzey wrote: >> > Can you clarify what you mean by "message loop"? >> I mean the event base loop. > > Can you clarify what you mean by "over taking"? >

Re: [Libevent-users] message loop

2011-07-06 Thread Mark Ellzey
On Wed, Jul 06, 2011 at 08:01:11PM +0200, mosta wrote: > On 07/06/11 19:39, Mark Ellzey wrote: > > Can you clarify what you mean by "message loop"? > I mean the event base loop. Can you clarify what you mean by "over taking"? ***

Re: [Libevent-users] message loop

2011-07-06 Thread mosta
On 07/06/11 19:39, Mark Ellzey wrote: > Can you clarify what you mean by "message loop"? I mean the event base loop. *** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-usersin the body.

Re: [Libevent-users] message loop

2011-07-06 Thread Mark Ellzey
On Wed, Jul 06, 2011 at 07:04:51PM +0200, mosta wrote: > hi, > > is there a API for over taking the message loop? Can you clarify what you mean by "message loop"? *** To unsubscribe, send an e-mail to majord...@freehaven.net with

[Libevent-users] message loop

2011-07-06 Thread mosta
hi, is there a API for over taking the message loop? greetings mosta *** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-usersin the body.