摘要: 如何在不同的线程使用bufferevent_read和bufferevent_write呢? 首先,我们需要在建立base之前加上evthread_use_pthreads(); evthread_use_pthreads(); struct event_base* base = event_bas 阅读全文
posted @ 2020-07-21 19:49 solanin 阅读(362) 评论(0) 推荐(0)