libaio (otherwise known as asynchronous I/O or AIO) enables even a single application thread to overlap I/O operations with other processing, by providing an interface for submitting one or more I/O requests in one system call. See documentation
- The Core Planners: chef-core-planners@chef.io
Library package
Library packages can be set as runtime or build time dependencies, however they are typically used as buildtime dependencies. See Defining your dependencies for more information.
To add core/libaio as a dependency, you can add one of the following to your plan file.
pkg_build_deps=(core/libaio)
pkg_deps=(core/libaio)
To install this plan, run the following command:
hab pkg install core/libaio
hab pkg install core/libaio
» Installing core/libaio
☁ Determining latest version of core/libaio in the 'stable' channel
→ Found newer installed version (core/libaio/0.3.112/20200922121110) than remote version (core/libaio/0.3.112/20200404011844)
→ Using core/libaio/0.3.112/20200922121110
★ Install of core/libaio/0.3.112/20200922121110 complete with 0 new packages installed.
To view the library files first get the habitat installation directory
hab pkg path core/libaio
/hab/pkgs/core/libaio/0.3.112/20200922121110
Then list the libraries, for example:
ls -1 $(hab pkg path core/libaio)/lib
libaio.a
libaio.so
libaio.so.1
libaio.so.1.0.1