diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-10-29 18:17:24 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-11-15 16:50:22 +0100 |
commit | 00ee8d85c925846acc76df2a6fc7c67a062c2ea6 (patch) | |
tree | 3b8c71b64f089d3a625eeda5c3c188098d50b07b /CMakeLists.txt | |
parent | 7e08dd85d6271be4750c5989ccd5053df281d2aa (diff) | |
download | mariadb-git-00ee8d85c925846acc76df2a6fc7c67a062c2ea6.tar.gz |
MDEV-16264: Add threadpool library
The library is capable of
- asynchronous execution of tasks (and optionally waiting for them)
- asynchronous file IO
This is implemented using libaio on Linux and completion ports on
Windows. Elsewhere, async io is "simulated", which means worker threads
are performing synchronous IO.
- timers, scheduling work asynchronously in some point of the future.
Also periodic timers are implemented.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 085d7f07fe6..a1c085d7c3f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -420,6 +420,7 @@ ADD_SUBDIRECTORY(client) ADD_SUBDIRECTORY(extra) ADD_SUBDIRECTORY(libservices) ADD_SUBDIRECTORY(sql/share) +ADD_SUBDIRECTORY(tpool) IF(NOT WITHOUT_SERVER) ADD_SUBDIRECTORY(tests) |