Apache Portable Runtime

The Library Apache Portable Runtime (APR ) is an open source software product of the Apache Software Foundation. It is the consistent further development of individual generalization functions from an older version of Apache HTTP Server: The web server is running under different operating systems (including Linux and other Unix variants, Windows and Netware ).

These systems provide slightly different interfaces for identical tasks. In order to standardize one resorted to in earlier versions of Apache on non-Unix platforms with a POSIX emulation layer. Since this is at the expense of stability and speed, the developers went with the Apache version 2.0 a new way: APR is placed separately for each platform, and provides functions with the same outward behavior. In this way, generalized ( abstracted ) they thwart certain basic functions required by the web server without the individual strengths of each system.

The Apache Portable Runtime provides, among other functions of the following task areas ready:

  • File accesses
  • Network sockets
  • Memory management
  • Date and Time Functions
  • Text and string handling
  • Approximation of file and path names in a file system independent format
  • Random
  • Thread and process management
  • Loading dynamic libraries

Since APR programming platform independent network applications much easier, now account for other projects of the Apache Software Foundation and other providers use of it, for example, Apache Flood, JXTA -C, some Tomcat modules or the version control system Subversion.