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

Function thd_wait_begin

sql/sql_class.cc:6138–6147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6136 thd_wait_end MUST be called immediately after waking up again.
6137*/
6138extern "C" void thd_wait_begin(MYSQL_THD thd, int wait_type)
6139{
6140 if (!thd)
6141 {
6142 thd= current_thd;
6143 if (unlikely(!thd))
6144 return;
6145 }
6146 MYSQL_CALLBACK(thd->scheduler, thd_wait_begin, (thd, wait_type));
6147}
6148
6149/**
6150 Interface for MySQL Server, plugins and storage engines to report

Callers 14

scheduler_wait_net_beginFunction · 0.85
wait_for_gtidMethod · 0.85
do_pauseFunction · 0.85
timed_waitMethod · 0.85
wait_for_posMethod · 0.85
set_archiveMethod · 0.85
checkpoint_marginMethod · 0.85
acquireMethod · 0.85
lock_waitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected