Libevent源碼分析-----Libevent工作流程探究

          之前的博文講了很多Libevent的基礎構件,現在以一個實際例子來初步探究Libevent的基本工作流程。由於還有很多Libevent的細節並沒有講所以,這裏的探究還是比較簡潔,例子也相當簡單。 #include<unistd.h> #include<stdio.h> #include<event.h> #include<thread.h> void cmd_cb(
相關文章
相關標籤/搜索