|
LINBIT Open Source Software - libtcr |
|
Links: documentation git tree more LINBIT OSS .. |
LIBTCR - Effectively using multi core CPUs in user space The threaded coroutine library (libtcr) is a framework for writing network server applications. Its purpose is to enable developers to write servers making use of multiple CPUs/cores to handle requests of a single connection in a pipelined fashion. The library's core is a parallel main event loop to dispatch events on file descriptors based on the epoll(4), eventfd(2), and timerfd(2) system calls. For additional ease of use, lightweight user space thread switching is also a part of this framework. It requires a 2.6.25 or later Linux kernel. Libtc is available under the terms of LGPL 3. Full documentation: http://oss.linbit.com/libtcr/documentation/ Download source: http://git.drbd.org/?p=libtcr.git |