mariadb/tpool
Vladislav Vaintroub 86407a59b3 MDEV-16264 - Fix assertion `m_queue.empty() && !m_tasks_running' in tpool::task_group destructor
This particular assertion happened when shutting down Innodb IO.IO shutdown properly waits for all IOs to finish


However there is a race condition -
right after releasing last IO slot and before decrementing task count
in group, pending_io_count will be 0, but tasks_running will be 1,
leading to assertion.

The fix is to make task_group destructor to wait for last running task
to finish.
2019-11-25 17:10:01 +01:00
..
aio_linux.cc MDEV-16264: Add threadpool library 2019-11-15 16:50:22 +01:00
aio_simulated.cc MDEV-16264: Fix some white space 2019-11-15 19:55:13 +02:00
aio_win.cc MDEV-16264: Add threadpool library 2019-11-15 16:50:22 +01:00
CMakeLists.txt MDEV-16264: Add threadpool library 2019-11-15 16:50:22 +01:00
task.cc MDEV-16264: Add threadpool library 2019-11-15 16:50:22 +01:00
task_group.cc MDEV-16264 - Fix assertion `m_queue.empty() && !m_tasks_running' in tpool::task_group destructor 2019-11-25 17:10:01 +01:00
tpool.h MDEV-16264: Fix some white space 2019-11-15 19:55:13 +02:00
tpool_generic.cc MDEV-16264: Fix some white space 2019-11-15 19:55:13 +02:00
tpool_structs.h MDEV-16264: Fix some white space 2019-11-15 19:55:13 +02:00
tpool_win.cc MDEV-16264: Fix some white space 2019-11-15 19:55:13 +02:00