On Sat, Jul 02, 2011, Nick Mathewson wrote:
> The select-based backend is still used for the event interface
> provided by event_add, event_del, etc. It turns out that you can't
> emulate that using IOCP, as far as I can tell.[*] If you want to use
> IOCP, you need to use bufferevents: the buffe
On Fri, Jul 1, 2011 at 11:26 AM, Juan Pablo Fernandez
wrote:
> Hi,
>
> I've been experimenting with libevent on windows. I want to use IOCP,
> worker threads filling a queue layer in a server application.
> Bufferevents is a nice fit! And I've written a small server using
> bufferevents. However,
On Thu, Jun 30, 2011 at 1:53 PM, Ed Day wrote:
> In reading the documentation on paired buffer events, it says they can
> be used in "a networking program that needs to talk to itself". That
> is exactly what I have and this capability sounds like what I need to
> implement an internal queue. Bu
Hi!
I'm using libevent with N processes (i'm using fork).
I need to limit connections/events per process. How can i do that ?
The only way i know is to use *setrlimit(RLIMIT_NOFILE*, but is this the
best way to do that ? What is going to happen, when limit is reached ? Is
error will occur ?