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)
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
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
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
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?
***
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"?
> ***
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"?
>
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"?
***
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.
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
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.
11 matches
Mail list logo