diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-01-15 15:41:25 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-01-15 15:41:25 +0100 |
commit | d212991e892c366f6df96f8b52c8306ae329770f (patch) | |
tree | c89b92bccb4b1e84cf02db4eb46adae23222d703 /sql/threadpool_win.cc | |
parent | 18c9b345b43b62b7c4dbac8ce0289c1c8103c2d1 (diff) | |
download | mariadb-git-d212991e892c366f6df96f8b52c8306ae329770f.tar.gz |
Get rid of idle thread counter atomic variable.
Instead, use function that loops over groups and
calculates idle threads for "show status".
Diffstat (limited to 'sql/threadpool_win.cc')
-rw-r--r-- | sql/threadpool_win.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/threadpool_win.cc b/sql/threadpool_win.cc index 0afb628a1ca..1a560e62301 100644 --- a/sql/threadpool_win.cc +++ b/sql/threadpool_win.cc @@ -753,3 +753,13 @@ void tp_wait_end(THD *thd) /* Do we need to do anything ? */ } + +/** + Number of idle threads in pool. + This info is not available in Windows implementation, + thus function always returns 0. +*/ +int tp_get_idle_thread_count() +{ + return 0; +}
\ No newline at end of file |