mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 04:05:32 +02:00
Get rid of idle thread counter atomic variable.
Instead, use function that loops over groups and calculates idle threads for "show status".
This commit is contained in:
parent
18c9b345b4
commit
d212991e89
4 changed files with 53 additions and 23 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue