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

[Libevent-users] cancel pending events on bufferevent



Hello!

As the documentation states:
"Bufferevents are internally reference-counted, so if the bufferevent has pending deferred callbacks when you free it, it won’t be deleted until the callbacks are done."

Is there a way to cancel execution of pending deferred callbacks?

(The task is: after certain point need to give up on bufferevent without any callbacks invoked as they might be called with already freed structs as cbarg).

--
Vadym S. Khondar,
InvisiLabs.com

v.khondar@xxxxxxxxxxxxxx
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.