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.
Showing
tpool/CMakeLists.txt
0 → 100644
tpool/aio_linux.cc
0 → 100644
tpool/aio_simulated.cc
0 → 100644
tpool/aio_win.cc
0 → 100644
tpool/task.cc
0 → 100644
tpool/task_group.cc
0 → 100644
tpool/tpool.h
0 → 100644
tpool/tpool_generic.cc
0 → 100644
This diff is collapsed.
tpool/tpool_structs.h
0 → 100644
tpool/tpool_win.cc
0 → 100644
Please register or sign in to comment