[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] random crashed by [err] event_queue_remove:not on queue 8

On Sun, Feb 24, 2013 at 8:46 AM, Tony Qin <anqin.qin@xxxxxxxxx> 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
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.