MCPcopy Create free account
hub / github.com/MariaDB/server / get_os_thread_info

Function get_os_thread_info

sql/threadpool_common.cc:183–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181static thread_local OS_thread_info os_thread_info;
182
183static const OS_thread_info *get_os_thread_info()
184{
185 auto *res= &os_thread_info;
186 if (!res->initialized())
187 res->init();
188 return res;
189}
190
191/*
192 Attach/associate the connection with the OS thread,

Callers 1

thread_attachFunction · 0.85

Calls 2

initializedMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected