event-loop libraries such as libevent, libev,Programs using libevent :html
Choromium: Google's open-source web browser(on Mac and Linux)react
Memcached: a high-performance,distributed memory object caching systemweb
Transmission : a fast,eash, and free BitTorrent client缓存
Also known as Fiber,纤程,Typical examples are GNU Pth,StateThreads oop
boost::asio is a typical examplespa
CachedThreadPool:可缓存的线程池,该线程池中没有核心线程,非核心线程的数量为Integer.max_value,就是无限大,当有须要时建立线程来执行任务,没有须要时回收线程,适用于耗时少,任务量大的状况。线程
SecudleThreadPool:周期性执行任务的线程池,按照某种特定的计划执行线程中的任务,有核心线程,但也有非核心线程,非核心线程的大小也为无限大。适用于执行周期性的任务。scala
SingleThreadPool:只有一条线程来执行任务,适用于有顺序的任务的应用场景。orm
FixedThreadPool:定长的线程池,有核心线程,核心线程的即为最大的线程数量,没有非核心线程
htm