Apache Portable Runtime (apr)

In this chapter we discuss the Apache Portable Runtime (APR) application development framework library API. In particular we discuss the APR memory pool, process, thread, and thread pool. We present example which use these functions in a real-life setting. APR file information functions are used with memory mapped IO. APR hash tables are used to develop a word frequency counting applications. We use the Memcache library with APR, and also present an example which uses APR shared memory.