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"?
>
If you are trying to limit the connection only, you can maintain a
internal counter for each process, and check current value during
accept callback.
On Sat, Jul 2, 2011 at 7:45 AM, Artyom Boyko wrote:
> Hi!
> I'm using libevent with N processes (i'm using fork).
>
> I need to limit connections/
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.
10 matches
Mail list logo