阅读背景:

thrift non-blocking server在多线程下的处理流程

来源:互联网 

1. IOThread

只有io thread才会使用libevent,如使用event_base_loop等函数。上层task要添加event,也得下到io thread的event_base上。只有io thread才会使用libevent,如使用event_




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: