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

[Libevent-users] Is bufferevent thread-safe?



Hello,

I am a new user of libevent, so the question may seem quite naive.

I am building an application based on libevent-2.10 on linux using the
epoll backend. The application maintains BST using tsearch, tdelete
for access control. The tree is built from the command line argument,
and looked up when a new connection is accepted.

I want to build a HTTP server to dynamically update the BST. I know
that tsearch is not thread-safe, but since libevent uses async I/O, so
I assume thread-safety is guaranteed. Could somebody confirm this?

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