On Sun, Feb 24, 2013 at 8:46 AM, Tony Qin wrote:
> Is it allowed to create two loops in one process but within different thread?
Yes, but they must have different event_base structures.
Also, you need to enable threading support by calling the appropriate
event_enable_*_threading() function
Is it allowed to create two loops in one process but within different thread?
On Thu, Feb 21, 2013 at 11:27 PM, Nick Mathewson wrote:
> On Wed, Feb 20, 2013 at 1:41 AM, Tony Qin wrote:
>>> Debug mode and debug logs are different things; if you can't store the
>>> debug logs, you can still enabl
On Wed, Feb 20, 2013 at 1:41 AM, Tony Qin wrote:
>> Debug mode and debug logs are different things; if you can't store the
>> debug logs, you can still enable debugging mode without turning on
>> debug logs.
>>
>
> how to enable debug mode without turning on debug log?
>
> only set the following l
> Debug mode and debug logs are different things; if you can't store the
> debug logs, you can still enable debugging mode without turning on
> debug logs.
>
how to enable debug mode without turning on debug log?
only set the following line does not work:
int _event_debug_mode_on = 1;
**
On Mon, Feb 18, 2013 at 9:41 PM, Tony Qin wrote:
> humm when I enable the debug mode in libevent, it will dump
> GB-level log and not easy to check specific event. Also, the crash
> does not always happen in any time running.
Debug mode and debug logs are different things; if you can't store
humm when I enable the debug mode in libevent, it will dump
GB-level log and not easy to check specific event. Also, the crash
does not always happen in any time running.
Has any quickly fix there?
I try to disable the event_errx() in event_queue_remove() and let
server alive. However, it see
On Sun, Feb 17, 2013 at 10:09 PM, Tony Qin wrote:
> Hi all,
>
> I uses the libevent-2.0.19-stable in my rpc server to send data from
> client-end to server-end. However, my server is always "exist" by
> libevent (by event_errx()).
>
> Checked log and fond the follow message:
>
> event_queue_remove