Commit ce9efb4e authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-34296 tpool - declare thread_local_waiter "static thread_local"

parent 7d86751d
......@@ -186,7 +186,7 @@ void group_commit_lock::set_pending(group_commit_lock::value_type num)
}
const unsigned int MAX_SPINS = 1; /** max spins in acquire */
thread_local group_commit_waiter_t thread_local_waiter;
static thread_local group_commit_waiter_t thread_local_waiter;
group_commit_lock::lock_return_code group_commit_lock::acquire(value_type num)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment