Thanks Nick that worked.
On 20 June 2012 15:38, Nick Mathewson wrote:
> On Wed, Jun 20, 2012 at 5:32 AM, Ben Short wrote:
> > Hi,
> >
> > I've used the echo server example to implement my own server. I call
> > the event_base_dispatch in a new thread.
> >
> > Is there anyway to do an orderly sh
On Wed, Jun 20, 2012 at 5:32 AM, Ben Short wrote:
> Hi,
>
> I've used the echo server example to implement my own server. I call
> theĀ event_base_dispatch in a new thread.
>
> Is there anyway to do an orderly shutdown of the event dispatcher?
>
> I've triedĀ event_base_loopbreak which returns 0 but
Hi,
I've used the echo server example to implement my own server. I call
the event_base_dispatch in a new thread.
Is there anyway to do an orderly shutdown of the event dispatcher?
I've tried event_base_loopbreak which returns 0 but the event_base_dispatch
doesn't return.
I'm using libevent 2.0