24#ifndef MYSQL_SERVICE_THD_EGINE_LOCK_INCLUDED
25#define MYSQL_SERVICE_THD_EGINE_LOCK_INCLUDED
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
bool wait_for(TCondition cond, std::chrono::steady_clock::duration max_wait)
Delays execution for at most max_wait or returns earlier if cond becomes true.
Definition: ut0ut.ic:131
void thd_report_row_lock_wait(THD *self, THD *wait_for)
Definition: sql_thd_api.cc:687
void thd_report_lock_wait(THD *self, THD *wait_for, bool may_survive_prepare)
Call it just when the engine find a transaction should wait another transaction to release a lock.
Definition: sql_thd_api.cc:692