to invoke this event more
> then once, and stop invoking after particular condition occurs, so it's more
> like:
>
> void cb_func(agrs){
>
> //do some work
> if(cond)
> event_del(event);
>
>
> }
>
> 2011/4/7 蒋浩
>
>> hi,mayb
hi,maybe you call event_new without the flag of EV_PERSISTENT,so when
cb_func is triggered ,the event is automatic deleted by event_base_loop,it's
seems there is two ev_del calls in your example ,
forgive my pool english..
2011/4/7 Michał Król
> Hi,
>
> I was wondering if there is any way I ca
thanks
2011/3/31 Michał Król
> In libevent2 you can use events bases which are threads safe. For example
> to dispatch useint event_base_dispatch ( struct event_base *
> )
>
> which is thread safe.
>
>
> 2011/3/31 蒋浩
>
>> As captioned,in libevent2, for exampl
As captioned,in libevent2, for example,event_add or event_dispatch and so
on,are they thread safe?can I use them safe in different threads ?